project views in 3.4
Andras Mantia
amantia at kde.org
Wed May 31 17:25:09 UTC 2006
On Wednesday 31 May 2006 20:06, Alexander Dymo wrote:
> On Wednesday 31 May 2006 19:47, Andras Mantia wrote:
> > On Wednesday 31 May 2006 17:34, Jens Dagerbo wrote:
> > > Is this something you have
> > > managed to solve in Quanta?
> >
> > I never heard about such bug in Quanta, but I know I did some KMDI
> > startup "magic" to workaround some bugs, so it might be that this
> > was "fixed" there as well.
> > I just tried it and if I remove a toolbar it doesn't show up after
> > the next restart. I tried the same with the Debugger Toolbar in
> > KDevelop and it appears after a restart. :-0 And this is with
> > simple ideal mode.
>
> I've looked briefly at this. We call
> KMainWindow::aplyMainWindowSettings at the startup. Isn't it supposed
> to restore the toolbar layout?
Hm, there is some problem there as there are several ways it is used:
saveMainWindowSettings( KGlobal::config(), "MainWindow" );
applyMainWindowSettings( KGlobal::config(), "MainWindow" );
and
KConfig *config = kapp->config();
applyMainWindowSettings(config, "Mainwindow");
saveMainWindowSettings(config, "Mainwindow");
See the capitalization and I'm not sure the config object is the same.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060531/fd71bb9a/attachment.sig>
More information about the KDevelop-devel
mailing list