Fixed the group name so that the toolbar is initially at bottom.

Defining a _global_ attribute for all toolbars related to position makes
absolutely no sense - how do you write a cfg file for one toolbar on
top and one at bottom then ? - which is why I removed support for that
some time ago in KToolBar (to speed it up, too).
+ Removed a useless setGroup in konsole.C.

svn path=/trunk/kdebase/konsole/; revision=72797
wilder-portage
David Faure 26 years ago
parent da1baf695d
commit ac5313e8be
  1. 3
      src/konsole.C
  2. 2
      src/konsolerc

@ -237,8 +237,7 @@ Konsole::Konsole(const char* name,
// read and apply default values ///////////////////////////////////////////
resize(321, 321); // Dummy.
QSize currentSize = size();
KConfig *config = KGlobal::config();
config->setGroup("options");
KConfig * config = KGlobal::config();
applyMainWindowSettings(config);
if (currentSize != size())
defaultSize = size();

@ -1,3 +1,3 @@
[Toolbar style]
[konsole-mainwindow#1 Toolbar style]
IconText=IconTextRight
Position=Bottom

Loading…
Cancel
Save