Mercurial > hg > easyhg
comparison settingsdialog.cpp @ 177:bb89bcd8986b
* Fixes to external program location logic on Win32
author | Chris Cannam |
---|---|
date | Thu, 16 Dec 2010 20:23:43 +0000 |
parents | a6ec8d0bdd34 |
children | 1a3af8617ea4 |
comparison
equal
deleted
inserted
replaced
176:a6ec8d0bdd34 | 177:bb89bcd8986b |
---|---|
15 COPYING included with this distribution for more information. | 15 COPYING included with this distribution for more information. |
16 */ | 16 */ |
17 | 17 |
18 #include "settingsdialog.h" | 18 #include "settingsdialog.h" |
19 #include "common.h" | 19 #include "common.h" |
20 #include "debug.h" | |
20 | 21 |
21 #include <QGridLayout> | 22 #include <QGridLayout> |
22 #include <QGroupBox> | 23 #include <QGroupBox> |
23 #include <QDialogButtonBox> | 24 #include <QDialogButtonBox> |
24 #include <QSettings> | 25 #include <QSettings> |
205 } | 206 } |
206 | 207 |
207 void | 208 void |
208 SettingsDialog::accept() | 209 SettingsDialog::accept() |
209 { | 210 { |
211 DEBUG << "SettingsDialog::accept" << endl; | |
210 QSettings settings; | 212 QSettings settings; |
211 settings.beginGroup("User Information"); | 213 settings.beginGroup("User Information"); |
212 settings.setValue("name", m_nameEdit->text()); | 214 settings.setValue("name", m_nameEdit->text()); |
213 settings.setValue("email", m_emailEdit->text()); | 215 settings.setValue("email", m_emailEdit->text()); |
214 settings.endGroup(); | 216 settings.endGroup(); |