aboutsummaryrefslogtreecommitdiffstats
path: root/settingsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'settingsdialog.cpp')
-rwxr-xr-xsettingsdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/settingsdialog.cpp b/settingsdialog.cpp
index a809075..637ba35 100755
--- a/settingsdialog.cpp
+++ b/settingsdialog.cpp
@@ -61,6 +61,8 @@ SettingsDialog::SettingsDialog(GpgME::GpgContext *ctx, QWidget *parent)
connect(gpgPathsTab, SIGNAL(signalRestartNeeded(bool)), this, SLOT(slotSetRestartNeeded(bool)));
connect(advancedTab, SIGNAL(signalRestartNeeded(bool)), this, SLOT(slotSetRestartNeeded(bool)));
+ connect(this, SIGNAL(signalRestartNeeded(bool)), parent, SLOT(slotSetRestartNeeded(bool)));
+
exec();
}
@@ -71,7 +73,6 @@ bool SettingsDialog::getRestartNeeded()
void SettingsDialog::slotSetRestartNeeded(bool needed)
{
- qDebug() << "slot restart needed (settingsdialog): " << needed;
this->restartNeeded = needed;
}
@@ -288,7 +289,6 @@ void GeneralTab::applySettings()
void GeneralTab::slotLanguageChanged()
{
- qDebug() << "slot language changed";
emit signalRestartNeeded(true);
}