[Konversation-devel] [Bug 215403] Crash on Identity Window

Eike Hein hein at kde.org
Fri Nov 20 22:59:26 CET 2009


https://bugs.kde.org/show_bug.cgi?id=215403


Eike Hein <hein at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hein at kde.org




--- Comment #1 from Eike Hein <hein kde org>  2009-11-20 22:59:25 ---
I have a virtual machine with KDE 4.1.4 and Qt 4.4 here which I use for release
testing, and I cannot reproduce that crash there. The spinbox also works as
expected.

Note that while KIntSpinBox::setSuffix(KLocalizedString const&) is new in KDE
4.3, QIntSpinBox, which KIntSpinBox inherits from, has a setSuffix (const
QString&). Our code looks like this:

#if KDE_IS_VERSION(4, 2, 80)
        m_awayInactivitySpin->setSuffix(ki18np(" minute", " minutes"));
#else
        m_awayInactivitySpin->setSuffix(i18n(" minutes"));
#endif

On KDEs prior to 4.3 beta, it will use the i18n() macro, which returns a
QString() and just works fine with QIntSpinBox's setSuffix(const QString&).

My guess is that you compiled Konversation against KDE 4.3 but are trying to
run it in KDE 4.2: That can't work.

-- 
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 Konversation-devel mailing list