# HG changeset patch # User Jacob Dawid # Date 1335986108 -7200 # Node ID 8e9823066dad4a6d894acd623403bf5fd3e80a12 # Parent f6b4236da9f8beb9a513f6664fe520cadcd34459 Fixed bug with not correctly syncing settings. MainWindow.cpp (processSettings): Settings dialog will be destroyed before the settingsChanged signal will be emitted. diff -r f6b4236da9f8 -r 8e9823066dad gui/src/MainWindow.cpp --- a/gui/src/MainWindow.cpp Tue Mar 27 16:35:25 2012 -0400 +++ b/gui/src/MainWindow.cpp Wed May 02 21:15:08 2012 +0200 @@ -196,8 +196,9 @@ void MainWindow::processSettingsDialogRequest () { - SettingsDialog settingsDialog (this); - settingsDialog.exec (); + SettingsDialog *settingsDialog = new SettingsDialog (this); + settingsDialog->exec (); + delete settingsDialog; emit settingsChanged (); ResourceManager::instance ()->updateNetworkSettings (); }