projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix issues with AppearanceSettingsPage
[quassel.git]
/
src
/
uisupport
/
settingspage.cpp
diff --git
a/src/uisupport/settingspage.cpp
b/src/uisupport/settingspage.cpp
index
cee72a2
..
8db88ad
100644
(file)
--- a/
src/uisupport/settingspage.cpp
+++ b/
src/uisupport/settingspage.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8
by the Quassel Project *
+ * Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-33,7
+33,8
@@
SettingsPage::SettingsPage(const QString &category, const QString &title, QWidge
: QWidget(parent),
_category(category),
_title(title),
: QWidget(parent),
_category(category),
_title(title),
- _changed(false)
+ _changed(false),
+ _autoWidgetsChanged(false)
{
}
{
}
@@
-52,7
+53,7
@@
void SettingsPage::load(QCheckBox *box, bool checked) {
}
bool SettingsPage::hasChanged(QCheckBox *box) {
}
bool SettingsPage::hasChanged(QCheckBox *box) {
- return box->property("StoredValue").toBool()
=
= box->isChecked();
+ return box->property("StoredValue").toBool()
!
= box->isChecked();
}
}
@@
-62,7
+63,7
@@
void SettingsPage::load(QComboBox *box, int index) {
}
bool SettingsPage::hasChanged(QComboBox *box) {
}
bool SettingsPage::hasChanged(QComboBox *box) {
- return box->property("StoredValue").toInt()
=
= box->currentIndex();
+ return box->property("StoredValue").toInt()
!
= box->currentIndex();
}
void SettingsPage::load(QSpinBox *box, int value) {
}
void SettingsPage::load(QSpinBox *box, int value) {
@@
-71,7
+72,7
@@
void SettingsPage::load(QSpinBox *box, int value) {
}
bool SettingsPage::hasChanged(QSpinBox *box) {
}
bool SettingsPage::hasChanged(QSpinBox *box) {
- return box->property("StoredValue").toInt()
=
= box->value();
+ return box->property("StoredValue").toInt()
!
= box->value();
}
/*** Auto child widget handling ***/
}
/*** Auto child widget handling ***/