Removing m_writer from CsvImportWidget.h

This commit is contained in:
Louis-Bertrand Varin 2017-06-15 10:26:37 -04:00
parent 46f7d97176
commit e0e8521eb9
2 changed files with 3 additions and 4 deletions

View File

@ -23,6 +23,7 @@
#include <QFileInfo>
#include <QSpacerItem>
#include "format/KeePass2Writer.h"
#include "gui/MessageBox.h"
#include "gui/MessageWidget.h"

View File

@ -28,7 +28,6 @@
#include <QStackedWidget>
#include "core/Metadata.h"
#include "format/KeePass2Writer.h"
#include "gui/csvImport/CsvParserModel.h"
#include "keys/PasswordKey.h"
@ -42,7 +41,7 @@ class CsvImportWidget : public QWidget
Q_OBJECT
public:
explicit CsvImportWidget(QWidget *parent = nullptr);
explicit CsvImportWidget(QWidget* parent = nullptr);
~CsvImportWidget();
void load(const QString& filename, Database* const db);
@ -65,9 +64,8 @@ private:
QStringListModel* const m_comboModel;
QSignalMapper* m_comboMapper;
QList<QComboBox*> m_combos;
Database *m_db;
Database* m_db;
KeePass2Writer m_writer;
static const QStringList m_columnHeader;
void configParser();
void updateTableview();