[Kst] [Bug 92876] Settings dialog doesn't update on timer change
George Staikos
staikos at kde.org
Tue Nov 9 14:17:06 CET 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=92876
------- Additional Comments From staikos kde org 2004-11-09 14:17 -------
CVS commit by staikos:
- return from main
- update dirty flag on timer change
CCBUG: 92876
M +1 -0 kstsettingsdlg.ui.h 1.12.2.1
M +3 -2 main.cpp 1.90.2.1
--- kdeextragear-2/kst/kst/kstsettingsdlg.ui.h #1.12:1.12.2.1
@ -22,4 +22,5 @ void KstSettingsDlg::init()
}
_apply->setEnabled(false);
+ connect(_timer->child("qt_spinbox_edit"), SIGNAL(textChanged(const QString&)), this, SLOT(setDirty()));
}
--- kdeextragear-2/kst/kst/main.cpp #1.90:1.90.2.1
@ -412,5 +412,6 @ int main(int argc, char *argv[]) {
if (!tlv) {
- exit(0); // FIXME: can cause crashes
+ kdError() << i18n("Can't create a view.") << endl;
+ return 0;
}
@ -700,5 +701,5 @ int main(int argc, char *argv[]) {
args->clear();
delete kst;
- exit(0);
+ return 0;
} else {
args->clear();
More information about the Kst
mailing list