From kde-devel Fri Jan 25 20:24:46 2008 From: Thomas Baumgart Date: Fri, 25 Jan 2008 20:24:46 +0000 To: kde-devel Subject: Re: Disappearing main toolbar Message-Id: <200801252124.51449.thb () net-bembel ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=120129348015335 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1284398270==" --===============1284398270== Content-Type: multipart/signed; boundary="nextPart1205719.mbTpmXXmol"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1205719.mbTpmXXmol Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 25 January 2008 17:07:34 David Jarvie wrote: > On Friday 25 January 2008 12:19, Thomas Baumgart wrote: > > Hi, > > > > after trying a lot of things already, I am running out of ideas and I > > hope to > > get more ideas/solution(s) to the problem here. > > > > The problem is, that within KMyMoney (http://kmymoney2.sourceforge.net) > > the > > toolbar disappears after a change through the standard 'Configure > > Toolbars' > > dialog. The main toolbar object gets deleted by some internal function > > but not rebuild. Quitting the application and restarting it, the toolbar > > is back > > again incl. all the changes made. Other applications (eg KMail etc) don= 't > > show this behavior in the same environment. > > > > This happens with KDE 3.5.7 and 3.4.0 alike. > > > > What could be the cause of this? We're using a standard setupGUI() call > > to instantiate all this. > > I haven't looked at your code, but for an example of working KDE 3.5 code, > see kdepim/kalarm/mainwindow.cpp. Search case-insensitive for all > occurrences of "toolbar". You will note that two slots are needed, as well > as the initial setup and calls in the destructor. I hope this gives some > clue. Thanks for the *. We are using KMainWindow::setupGUI() which covers all tha= t.=20 It looks very much the same as you have it in KAlarm (which probably came a= =20 long way). =2D-=20 Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA =2D------------------------------------------------------------ A: I hear that if you play the Windows XP CD backwards, you get a Satanic message! B: That's nothing. If you play it forward, it installs WinXP! =2D------------------------------------------------------------ --nextPart1205719.mbTpmXXmol Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: http://www.net-bembel.de/ iD8DBQBHmkWTnFnbQLdd07oRAi3GAKCuY1Re1qSKBhN+W2zgAi2/prnHhgCcDWXg fiy32iV5tyR/ND4hEUx3MWk= =8Isc -----END PGP SIGNATURE----- --nextPart1205719.mbTpmXXmol-- --===============1284398270== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1284398270==--