17 Aug 21:54
[PATCH] Toolbar borkage fix
From: Rafael Fernández López <ereslibre <at> kde.org>
Subject: [PATCH] Toolbar borkage fix
Newsgroups: gmane.comp.kde.devel.core
Date: 2008-08-17 19:57:38 GMT
Subject: [PATCH] Toolbar borkage fix
Newsgroups: gmane.comp.kde.devel.core
Date: 2008-08-17 19:57:38 GMT
Hi all, Toolbars are broken on KDE. The patch: http://media.ereslibre.es/2008/08/kdelibs-toolbars.diff fixes them. In Kontact I also have another patch to complement it: http://media.ereslibre.es/2008/08/kdepim-toolbars.diff In theory what was happening (from my understanding) is that it depends on the active component (or the current component) how the toolbars should be saved. As we have usually more than one mainToolbar (depending on the component that is active), at the moment of saving (and switching toolbars) Qt was going crazy with the saveState() and restoreState() mechanism. Now, depending on the component that is active, the toolbar state of each component is retrieved and loaded/saved. Are this patches OK to be committed ? Regards, Rafael Fernández López.
RSS Feed