Fix obsolete KDE version check for Kopete.

...which resulted in wrong configure entry.

Signed-off-by: Chris <xchrisx@uber.space>
pull/20/head
Chris 5 years ago
parent 3a74e605bb
commit c119edad50

@ -37,12 +37,10 @@
KSettings::Dialog *KopetePreferencesAction::s_settingsDialog = 0L; KSettings::Dialog *KopetePreferencesAction::s_settingsDialog = 0L;
KopetePreferencesAction::KopetePreferencesAction( TDEActionCollection *parent, const char *name ) 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..." ), : TDEAction( KGuiItem( i18n( "&Configure Kopete..." ),
TQString::fromLatin1( "configure" ) ), 0, 0, 0, parent, name ) TQString::fromLatin1( "configure" ) ), 0, 0, 0, parent, name )
#endif
{ {
connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotShowPreferences() ) ); connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotShowPreferences() ) );
} }

Loading…
Cancel
Save