diff options
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/EditorPage.h | 3 | ||||
-rw-r--r-- | include/ui/FindWidget.h | 1 | ||||
-rwxr-xr-x | include/ui/KeyMgmt.h | 1 | ||||
-rw-r--r-- | include/ui/KeyServerImportDialog.h | 5 | ||||
-rwxr-xr-x | include/ui/QuitDialog.h | 2 | ||||
-rwxr-xr-x | include/ui/SettingsDialog.h | 1 | ||||
-rw-r--r-- | include/ui/keygen/KeygenThread.h | 1 | ||||
-rw-r--r-- | include/ui/keygen/SubkeyGenerateThread.h | 2 | ||||
-rw-r--r-- | include/ui/widgets/InfoBoardWidget.h | 2 |
9 files changed, 3 insertions, 15 deletions
diff --git a/include/ui/EditorPage.h b/include/ui/EditorPage.h index 53d4625c..a06d6cd6 100644 --- a/include/ui/EditorPage.h +++ b/include/ui/EditorPage.h @@ -92,10 +92,7 @@ public: private: QTextEdit *textPage; /** The textedit of the tab */ QVBoxLayout *mainLayout; /** The layout for the tab */ - [[maybe_unused]] QWidget *notificationWidget{}; /** The notification widget shown at the buttom of the tab */ - [[maybe_unused]] QMenu *verifyMenu{}; /** The menu in the notifiaction widget */ QString fullFilePath; /** The path to the file handled in the tab */ - [[maybe_unused]] QLabel *verifyLabel{}; /** The label of the verify-notification widget */ bool signMarked{}; /** true, if the signed header is marked, false if not */ private slots: diff --git a/include/ui/FindWidget.h b/include/ui/FindWidget.h index ad98682c..2e9c67b0 100644 --- a/include/ui/FindWidget.h +++ b/include/ui/FindWidget.h @@ -52,7 +52,6 @@ private: QTextEdit *mTextpage; /** Textedit associated to the notification */ QLineEdit *findEdit; /** Label holding the text shown in infoBoard */ - [[maybe_unused]] QTextCharFormat cursorFormat; private slots: diff --git a/include/ui/KeyMgmt.h b/include/ui/KeyMgmt.h index c11280af..864413db 100755 --- a/include/ui/KeyMgmt.h +++ b/include/ui/KeyMgmt.h @@ -96,7 +96,6 @@ private: QAction *generateKeyDialogAct{}; QAction *closeAct{}; QAction *showKeyDetailsAct{}; - [[maybe_unused]] QMessageBox msgbox; KeyServerImportDialog *importDialog{}; protected: diff --git a/include/ui/KeyServerImportDialog.h b/include/ui/KeyServerImportDialog.h index f514368b..74ae864e 100644 --- a/include/ui/KeyServerImportDialog.h +++ b/include/ui/KeyServerImportDialog.h @@ -59,8 +59,10 @@ private: QPushButton *createButton(const QString &text, const char *member); - static QComboBox *createComboBox(); + QComboBox *createComboBox(); + QString appPath; + QSettings settings; GpgME::GpgContext *mCtx; KeyList *mKeyList; QLineEdit *searchLineEdit; @@ -73,7 +75,6 @@ private: QPushButton *importButton; QPushButton *searchButton; QTableWidget *keysTable{}; - [[maybe_unused]] QUrl url; QNetworkAccessManager *qnam{}; }; diff --git a/include/ui/QuitDialog.h b/include/ui/QuitDialog.h index 308a41fe..8d69cfd2 100755 --- a/include/ui/QuitDialog.h +++ b/include/ui/QuitDialog.h @@ -39,8 +39,6 @@ private slots: void slotMyDiscard(); private: - [[maybe_unused]] QAction *closeAct{}; - [[maybe_unused]] QLabel *nameLabel{}; bool discarded; QTableWidget *mFileList; }; diff --git a/include/ui/SettingsDialog.h b/include/ui/SettingsDialog.h index d2139a2e..5cb526f9 100755 --- a/include/ui/SettingsDialog.h +++ b/include/ui/SettingsDialog.h @@ -43,7 +43,6 @@ private: QSettings settings; QCheckBox *rememberPasswordCheckBox; - [[maybe_unused]] QCheckBox *importConfirmationcheckBox{}; QCheckBox *saveCheckedKeysCheckBox; QCheckBox *importConfirmationCheckBox; QComboBox *langSelectBox; diff --git a/include/ui/keygen/KeygenThread.h b/include/ui/keygen/KeygenThread.h index fad67e01..30478050 100644 --- a/include/ui/keygen/KeygenThread.h +++ b/include/ui/keygen/KeygenThread.h @@ -39,7 +39,6 @@ signals: private: GenKeyInfo *keyGenParams; GpgME::GpgContext *mCtx; - [[maybe_unused]] bool abort; QMutex mutex; protected: diff --git a/include/ui/keygen/SubkeyGenerateThread.h b/include/ui/keygen/SubkeyGenerateThread.h index 2441faa4..b442acea 100644 --- a/include/ui/keygen/SubkeyGenerateThread.h +++ b/include/ui/keygen/SubkeyGenerateThread.h @@ -41,8 +41,6 @@ private: const GpgKey mKey; GenKeyInfo *keyGenParams; GpgME::GpgContext *mCtx; - [[maybe_unused]] bool abort; - QMutex mutex; protected: diff --git a/include/ui/widgets/InfoBoardWidget.h b/include/ui/widgets/InfoBoardWidget.h index 4fdbdf9f..88c7cb04 100644 --- a/include/ui/widgets/InfoBoardWidget.h +++ b/include/ui/widgets/InfoBoardWidget.h @@ -97,8 +97,6 @@ private: KeyList *mKeyList; /** Table holding the keys */ QTextEdit *mTextPage{ nullptr }; /** Textedit associated to the notification */ QHBoxLayout *actionButtonLayout; - [[maybe_unused]] QVector<QString> verifyDetailStringVector; /** Vector containing the text for labels in verifydetaildialog */ - [[maybe_unused]] QVector<InfoBoardStatus> verifyDetailStatusVector; /** Vector containing the status for labels in verifydetaildialog */ }; |