summaryrefslogtreecommitdiffstats
path: root/ksystemlog/src/ksystemlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksystemlog/src/ksystemlog.cpp')
-rw-r--r--ksystemlog/src/ksystemlog.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/ksystemlog/src/ksystemlog.cpp b/ksystemlog/src/ksystemlog.cpp
index 66231bc..d0f2b47 100644
--- a/ksystemlog/src/ksystemlog.cpp
+++ b/ksystemlog/src/ksystemlog.cpp
@@ -937,12 +937,7 @@ TDEToggleAction* KSystemLog::getLogAction(const char* name) {
return( static_cast<TDEToggleAction*> (actionCollection()->action(name)) );
}
-#if defined(TDE_MAKE_VERSION) && TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
void KSystemLog::logActionClicked(const TQObject* sender, TDEAction::ActivationReason reason, TQt::ButtonState state) {
-#else
-void KSystemLog::logActionClicked(const TQObject* sender) {
-#endif
-
TDEToggleAction* action=getLogAction(sender->name());
LogMode* mode=mapActionLogModes[action];
@@ -954,10 +949,8 @@ void KSystemLog::logActionClicked(const TQObject* sender) {
//TODO Be sure that the + is the right symbol to combine TQt Constants
//If the user uses the middle button OR left button + shift OR left button + control : = it opens the log in a new tab
-#if defined(TDE_MAKE_VERSION) && TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
if (state==Qt::MidButton || (state==TQt::ControlButton+Qt::LeftButton) || (state==TQt::ShiftButton+Qt::LeftButton))
newTab();
-#endif
this->load(mode, activeLogManager());