From 9fe6a1ddbd3914028d30b0d22db47f08f56c3057 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 16 Dec 2019 20:39:34 +0100 Subject: Fix obsolete KDE version check for Kopete. ...which resulted in wrong configure entry. Signed-off-by: Chris (cherry picked from commit c119edad50acbb8c1c2a67639e74fa31058f83f7) --- kopete/libkopete/ui/kopetestdaction.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'kopete') diff --git a/kopete/libkopete/ui/kopetestdaction.cpp b/kopete/libkopete/ui/kopetestdaction.cpp index 55bd73e3..d7730e15 100644 --- a/kopete/libkopete/ui/kopetestdaction.cpp +++ b/kopete/libkopete/ui/kopetestdaction.cpp @@ -37,12 +37,10 @@ KSettings::Dialog *KopetePreferencesAction::s_settingsDialog = 0L; KopetePreferencesAction::KopetePreferencesAction( TDEActionCollection *parent, const char *name ) -#if KDE_IS_VERSION( 3, 3, 90 ) -: TDEAction( KStdGuiItem::configure(), 0, 0, 0, parent, name ) -#else + : TDEAction( KGuiItem( i18n( "&Configure Kopete..." ), TQString::fromLatin1( "configure" ) ), 0, 0, 0, parent, name ) -#endif + { connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotShowPreferences() ) ); } -- cgit v1.2.1