┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/previewssettingspage.cpp
AgeCommit message (Collapse)Author
2009-02-03* no general settings are read -> invoking loadSettings has no effect in ↵Peter Penz
restoreDefaults() * use constants for the defaults, as hardcoding the defaults in 2 methods might be error-prone when changing the defaults in future CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=920531
2009-02-03Both the 'preview size' slider and the 'embed thumbnails in files' settings ↵Shaun Reich
now restore to defaults when asked to. svn path=/trunk/KDE/kdebase/apps/; revision=920491
2009-02-02A few more fixes...mostly cleanups.Shaun Reich
*Grouped some statements that it didn't make sense to put after a certain block of code (giving the impression that it had to be after this block). *There is no need to set the value of the QSpinBox equal to that of the slider, when loading settings... their valueChanges() signals are connected to the opposite one's slot. *Made a now unused variable be used, it was inconsistent in this code block, two times '1' was used, but other times a var set to '1' would be used. *Moved some blocks of code from the loadSettings() method, into the constructor, since the loadSettings() method is called more than once, so it's more resource-friendly to do it this way. svn path=/trunk/KDE/kdebase/apps/; revision=920441
2009-02-02We were calling methods within loadSettings() which should have been moved ↵Shaun Reich
to inside the constructor instead. Examples include setting up a slider's notch-type(bottom or top). Especially significant since loadSettings() gets called more often than the constructor. svn path=/trunk/KDE/kdebase/apps/; revision=920419
2009-02-01Now when you click the button "Defaults" in the settings dialog, it will ↵Shaun Reich
push the settings to the UI, then the user can apply, cancel, or modify them from there. Also removed the message box prompt. Use settings->useDefaults(true), then set it back to false after you are done loading settings in the restoreDefaults() method calls. Don't use ->setDefaults() normally, anymore. svn path=/trunk/KDE/kdebase/apps/; revision=919897
2009-01-17Relayout of the settings dialog, so that all Dolphin KPart relevant settings ↵Peter Penz
can be made available in Konqueror's settings dialog too. Further cleanups and layout fixes are required and will be done during the next week. svn path=/trunk/KDE/kdebase/apps/; revision=912587