diff options
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/kservice.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp index bbcbed5c9..67031d06d 100644 --- a/tdeio/tdeio/kservice.cpp +++ b/tdeio/tdeio/kservice.cpp @@ -236,9 +236,11 @@ KService::init( KDesktopFile *config ) m_strComment = config->readComment(); entryMap.remove("Comment"); m_strGenName = config->readGenericName(); +#ifdef KDE4_MENU_SUFFIX if (kde4application) { m_strGenName += " [KDE4]"; } +#endif entryMap.remove("GenericName"); TQString untranslatedGenericName = config->readEntryUntranslated( "GenericName" ); if (!untranslatedGenericName.isEmpty()) @@ -496,12 +498,12 @@ public: void reparseConfiguration() { } - KEntryMap internalEntryMap( const TQString &pGroup) const + KEntryMap internalEntryMap( const TQString &pGroup) const { Q_UNUSED(pGroup); return KEntryMap(); } KEntryMap internalEntryMap() const { return KEntryMap(); } - void putData(const KEntryKey &_key, const KEntry& _data, bool _checkGroup) + void putData(const KEntryKey &_key, const KEntry& _data, bool _checkGroup) { Q_UNUSED(_key); Q_UNUSED(_data); Q_UNUSED(_checkGroup); } KEntry lookupData(const KEntryKey &_key) const @@ -771,10 +773,10 @@ bool KService::noDisplay() const { return true; #endif } - + if (!kapp->authorizeControlModule(d->menuId)) return true; - + return false; } |