summaryrefslogtreecommitdiffstats
path: root/kcmshell/main.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-01-12 16:16:03 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-01-12 16:16:03 -0600
commit2c10a4aac71b1e66d4e3fc0c9401e8b283e73be3 (patch)
tree15402a6a50f4dc5409f5fa3caf29ebd0d3c2dd21 /kcmshell/main.cpp
parent01e9b41e1b0412e7281e9ef5c0df586bb66d8763 (diff)
parent4c9ff70f806c4e8f2f6197b94db39b5bef8c71f2 (diff)
downloadtdelibs-2c10a4aac71b1e66d4e3fc0c9401e8b283e73be3.tar.gz
tdelibs-2c10a4aac71b1e66d4e3fc0c9401e8b283e73be3.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'kcmshell/main.cpp')
-rw-r--r--kcmshell/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/kcmshell/main.cpp b/kcmshell/main.cpp
index 778c3b9a9..902b2397f 100644
--- a/kcmshell/main.cpp
+++ b/kcmshell/main.cpp
@@ -282,7 +282,11 @@ extern "C" KDE_EXPORT int kdemain(int _argc, char *_argv[])
return 0;
}
- KDialogBase::DialogType dtype = KDialogBase::Plain;
+ //KDialogBase::DialogType dtype = KDialogBase::Plain; // FIXME
+ KDialogBase::DialogType dtype = KDialogBase::IconList; // Work around a bug whereby several kcontrol modules (such as displayconfig) use an incorrect size when loaded with kcmshell in the Plain mode
+ // This bug is possibly related to kcmultidialog.cpp:266 [( new TQHBoxLayout( page ) )->setAutoAdd( true );]
+ // In fact, this method of display may be preferable to the Plain mode from a UX perspective,
+ // as the icon shows the user what the active kcontrol module is called.
if ( modules.count() < 1 )
return 0;