[Kmymoney-devel] [Bug 278157] KMM crashes if I click on a tab in help/aboutKMM or settings/KMM/Plugins

Cristian Onet onet.cristian at gmail.com
Tue Aug 2 07:17:13 UTC 2011


Cristian Onet <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |onet.cristian at gmail.com

--- Comment #25 from Cristian Onet <onet cristian gmail com>  2011-08-02 07:17:12 ---
(In reply to comment #20)
> This has been tracked down to revision 1203403, specifically a call to
> qApp->setStyleSheet(....).  The specific call "qApp->setStyleSheet(QString())"
> does not cause the crash.
> In the current revision of trunk, in kmymoney/kmymoney.cpp on line 6438,
> commenting out the call to qApp->setStyleSheet in the "else" clause of the "if"
> in "void KMyMoneyApp::Private::setCustomColors()" prevents/avoids the crash.
> Given that the crash does not happen under KDE 4.5.5, but does under KDE 4.6.3
> and 4.7.0, does that give any hints where to look next?

This means that the crash can be reproduced by disabling the 'Use system
colors' option and going to the Help/About menu. I will try it later today and
try to come up with a fix.
We already had a custom colors regarded crash in BUG 270493 but there the
problem was in kmymoney code.
My guess is that for this one we'll need a workaround :) and I really hate

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list