mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-20 03:58:10 -04:00
Use QSaveFile to save databases.
This commit is contained in:
parent
78849c43f1
commit
b579eb954e
8 changed files with 76 additions and 69 deletions
|
@ -36,7 +36,7 @@ class DatabaseOpenWidget : public DialogyWidget
|
|||
public:
|
||||
explicit DatabaseOpenWidget(QWidget* parent = Q_NULLPTR);
|
||||
~DatabaseOpenWidget();
|
||||
void load(QFile* file, const QString& filename);
|
||||
void load(const QString& filename);
|
||||
void enterKey(const QString& pw, const QString& keyFile);
|
||||
Database* database();
|
||||
|
||||
|
@ -57,7 +57,6 @@ private Q_SLOTS:
|
|||
protected:
|
||||
const QScopedPointer<Ui::DatabaseOpenWidget> m_ui;
|
||||
Database* m_db;
|
||||
QFile* m_file;
|
||||
QString m_filename;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue