]> cloud.milkyroute.net Git - dolphin.git/commit
A few more fixes...mostly cleanups.
authorShaun Reich <shaun.reich@kdemail.net>
Mon, 2 Feb 2009 22:23:06 +0000 (22:23 +0000)
committerShaun Reich <shaun.reich@kdemail.net>
Mon, 2 Feb 2009 22:23:06 +0000 (22:23 +0000)
commita8d577ff2d5bfb74707538a4a50058d957164f40
treef1822d11558c697d5f89d6ab1517166275fa4860
parentc2429b1dcb526a9f00dc6aeb30cbb3197b897e3b
A few more fixes...mostly cleanups.

*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
src/settings/previewssettingspage.cpp