35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
|
--- qtadb-0.8.1.20160727git/dialogs/mainwindow.cpp.orig 2016-07-27 14:44:31.591977208 +0200
|
||
|
+++ qtadb-0.8.1.20160727git/dialogs/mainwindow.cpp 2016-07-27 14:45:08.595965418 +0200
|
||
|
@@ -179,12 +179,6 @@
|
||
|
delete this->systemTray;
|
||
|
|
||
|
delete this->fileWidget;
|
||
|
- if (!this->settingsWidget->clearSettings)
|
||
|
- {
|
||
|
- QSettings settings;
|
||
|
- settings.setValue("windowGeometry", saveGeometry());
|
||
|
- this->settingsWidget->saveSettings();
|
||
|
- }
|
||
|
if (this->settingsWidget != NULL)
|
||
|
delete this->settingsWidget;
|
||
|
|
||
|
--- qtadb-0.8.1.20160727git/widgets/settingswidget.cpp.orig 2016-07-27 14:53:44.615903214 +0200
|
||
|
+++ qtadb-0.8.1.20160727git/widgets/settingswidget.cpp 2016-07-27 14:54:05.367903466 +0200
|
||
|
@@ -142,16 +142,6 @@
|
||
|
|
||
|
SettingsWidget::~SettingsWidget()
|
||
|
{
|
||
|
- QSettings *settings = new QSettings;
|
||
|
- if (this->rememberPhonePath)
|
||
|
- settings->setValue("phonePath", this->phonePath);
|
||
|
- if (this->rememberComputerPath)
|
||
|
- settings->setValue("computerPath", this->computerPath);
|
||
|
-
|
||
|
- //settings->setValue("sdkPath", this->sdkPath);
|
||
|
- //settings->setValue("wlanIP", this->wlanIP);
|
||
|
-
|
||
|
- delete settings;
|
||
|
delete ui;
|
||
|
}
|
||
|
|