diff options
author | Chris <[email protected]> | 2019-12-16 20:39:34 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-12-17 01:19:19 +0100 |
commit | 9fe6a1ddbd3914028d30b0d22db47f08f56c3057 (patch) | |
tree | cc16e70b8d414545c4410f3f4a8ab1efd15261e8 | |
parent | 1d7bf13781537dadc3fcd220bdee9aa007845a92 (diff) | |
download | tdenetwork-9fe6a1ddbd3914028d30b0d22db47f08f56c3057.tar.gz tdenetwork-9fe6a1ddbd3914028d30b0d22db47f08f56c3057.zip |
Fix obsolete KDE version check for Kopete.
...which resulted in wrong configure entry.
Signed-off-by: Chris <[email protected]>
(cherry picked from commit c119edad50acbb8c1c2a67639e74fa31058f83f7)
-rw-r--r-- | kopete/libkopete/ui/kopetestdaction.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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() ) ); } |