Commit df87a08c authored by Raymond Wooninck's avatar Raymond Wooninck
Browse files

Fix connect with gcc <= 4.8

parent d98ec452
......@@ -153,9 +153,9 @@ void MainWindowEditor::showSettingsDialog()
dialog->addPage(appearenceDialog, i18nc("@item:inmenu", "Fonts"), "preferences-desktop-font", i18nc("@title:tab", "Training Phrase Font"), true);
dialog->addPage(resourceDialog, i18nc("@item:inmenu", "Course Resources"), "repository", i18nc("@title:tab", "Resource Repository Settings"), true);
connect(dialog, &QDialog::accepted, resourceDialog, &ResourcesDialogPage::saveSettings);
connect(dialog, &QDialog::accepted, soundDialog, &SoundDeviceDialogPage::saveSettings);
connect(dialog, &QDialog::accepted, appearenceDialog, &AppearenceDialogPage::saveSettings);
connect(dialog.data(), &QDialog::accepted, resourceDialog, &ResourcesDialogPage::saveSettings);
connect(dialog.data(), &QDialog::accepted, soundDialog, &SoundDeviceDialogPage::saveSettings);
connect(dialog.data(), &QDialog::accepted, appearenceDialog, &AppearenceDialogPage::saveSettings);
dialog->exec();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment