diff options
author | saturneric <[email protected]> | 2023-10-30 06:52:29 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-10-30 06:52:29 +0000 |
commit | 5d7b1d5493df8723259eca0613a9ce0af6077289 (patch) | |
tree | 12c0c820e956a1182d21d5897dc85610732767fd /src/ui/dialog/gnupg/GnuPGControllerDialog.cpp | |
parent | chore: add project infos in cmake config file (diff) | |
download | GpgFrontend-5d7b1d5493df8723259eca0613a9ce0af6077289.tar.gz GpgFrontend-5d7b1d5493df8723259eca0613a9ce0af6077289.zip |
style: improve code style of core
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/gnupg/GnuPGControllerDialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp index b4a708ed..dda37014 100644 --- a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp +++ b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp @@ -116,7 +116,7 @@ GnuPGControllerDialog::GnuPGControllerDialog(QWidget* parent) } // announce the restart - this->slot_set_restart_needed(DEEP_RESTART_CODE); + this->slot_set_restart_needed(kDeepRestartCode); // update ui this->slot_update_custom_key_database_path_label( @@ -153,7 +153,7 @@ GnuPGControllerDialog::GnuPGControllerDialog(QWidget* parent) } // announce the restart - this->slot_set_restart_needed(DEEP_RESTART_CODE); + this->slot_set_restart_needed(kDeepRestartCode); // update ui this->slot_update_custom_gnupg_install_path_label( @@ -163,7 +163,7 @@ GnuPGControllerDialog::GnuPGControllerDialog(QWidget* parent) connect(ui_->usePinentryAsPasswordInputDialogCheckBox, &QCheckBox::stateChanged, this, [=](int state) { // announce the restart - this->slot_set_restart_needed(DEEP_RESTART_CODE); + this->slot_set_restart_needed(kDeepRestartCode); }); #ifndef MACOS @@ -203,7 +203,7 @@ void GnuPGControllerDialog::SlotAccept() { void GnuPGControllerDialog::slot_update_custom_key_database_path_label( int state) { // announce the restart - this->slot_set_restart_needed(DEEP_RESTART_CODE); + this->slot_set_restart_needed(kDeepRestartCode); const auto database_path = Module::RetrieveRTValueTypedOrDefault<>( "core", "gpgme.ctx.database_path", std::string{}); @@ -241,7 +241,7 @@ void GnuPGControllerDialog::slot_update_custom_key_database_path_label( void GnuPGControllerDialog::slot_update_custom_gnupg_install_path_label( int state) { // announce the restart - this->slot_set_restart_needed(DEEP_RESTART_CODE); + this->slot_set_restart_needed(kDeepRestartCode); const auto home_path = Module::RetrieveRTValueTypedOrDefault<>( Module::GetRealModuleIdentifier( |