Also added "Save copy as"

This prompts for a new filename but it keeps remembering the previous name.
This commit is contained in:
Eelke Klein 2017-01-21 08:19:47 +01:00
parent 69ac154b07
commit 6c268bd774
3 changed files with 28 additions and 6 deletions

View file

@ -77,6 +77,7 @@ private:
bool continueWithoutSaving();
void closeEvent(QCloseEvent *event);
void showEvent(QShowEvent *event);
QString promptUserForSaveSqlFilename();
void saveSqlTo(const QString &filename);
private slots:
@ -102,6 +103,7 @@ private slots:
void on_actionExplain_Analyze_triggered();
void on_actionCancel_triggered();
void on_actionSave_SQL_as_triggered();
void on_actionSave_copy_of_SQL_as_triggered();
};
#endif // MAINWINDOW_H