diff options
author | Saturneric <[email protected]> | 2021-05-12 00:50:08 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-05-12 00:50:08 +0000 |
commit | b3ad42f01dcfaffeca4b906400df4094a978d095 (patch) | |
tree | 0a88a0168d5f9045d4144dd347fe25bd451000d2 /include/quitdialog.h | |
parent | Change CXX Standard to C++14 (diff) | |
download | GpgFrontend-b3ad42f01dcfaffeca4b906400df4094a978d095.tar.gz GpgFrontend-b3ad42f01dcfaffeca4b906400df4094a978d095.zip |
Srouce Files Tidy and Reform
Diffstat (limited to 'include/quitdialog.h')
-rwxr-xr-x | include/quitdialog.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/quitdialog.h b/include/quitdialog.h index b0558d27..0927ebef 100755 --- a/include/quitdialog.h +++ b/include/quitdialog.h @@ -28,9 +28,9 @@ class QuitDialog : public QDialog { Q_OBJECT public: - QuitDialog(QWidget *parent, QHash<int, QString> unsavedDocs); + QuitDialog(QWidget *parent, const QHash<int, QString>& unsavedDocs); - bool isDiscarded(); + bool isDiscarded() const; QList<int> getTabIdsToSave(); @@ -39,8 +39,8 @@ private slots: void slotMyDiscard(); private: - [[maybe_unused]] QAction *closeAct; - [[maybe_unused]] QLabel *nameLabel; + [[maybe_unused]] QAction *closeAct{}; + [[maybe_unused]] QLabel *nameLabel{}; bool discarded; QTableWidget *mFileList; }; |