summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karamba.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-23 11:58:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-23 18:10:57 +0900
commitaee047ef3b9023e74a1878e9e9f1c2af794de1ff (patch)
tree90decc019121e44eb0796b7e1d41110f742bce41 /superkaramba/src/karamba.cpp
parentd80a2defbdd8868d8895819d683704599964433e (diff)
downloadtdeutils-r14.1.x.tar.gz
tdeutils-r14.1.x.zip
Remove use of TDE_VERSIONr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 50855e76de13f2ca1361130493cc026b1ea50bba)
Diffstat (limited to 'superkaramba/src/karamba.cpp')
-rw-r--r--superkaramba/src/karamba.cpp23
1 files changed, 3 insertions, 20 deletions
diff --git a/superkaramba/src/karamba.cpp b/superkaramba/src/karamba.cpp
index d828411..d76a320 100644
--- a/superkaramba/src/karamba.cpp
+++ b/superkaramba/src/karamba.cpp
@@ -36,7 +36,6 @@
#include <krun.h>
#include <tdelocale.h>
#include <twin.h>
-#include <tdeversion.h>
#include <kdirwatch.h>
#include <tdeparts/componentfactory.h>
@@ -762,12 +761,7 @@ bool karamba::parseConfig()
// Matthew Kay: set window type to "dock"
// (plays better with taskbar themes this way)
KWin::setType(winId(), NET::Dock);
- #if defined(TDE_MAKE_VERSION)
- #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9)
- //KDE 3.2 addition for the always on top issues
- KWin::setState(winId(), NET::KeepBelow);
- #endif
- #endif
+ KWin::setState(winId(), NET::KeepBelow);
}
m_theme.close();
@@ -804,13 +798,7 @@ void karamba::start()
void karamba::makeActive()
{
KWin::setType(winId(), NET::Normal);
-
- #if defined(TDE_MAKE_VERSION)
- #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9)
- //KDE 3.2 addition for the always on top issues
- KWin::setState(winId(), NET::Modal);
- #endif
- #endif
+ KWin::setState(winId(), NET::Modal);
}
void karamba::makePassive()
@@ -828,12 +816,7 @@ void karamba::makePassive()
// Matthew Kay: set window type to "dock" (plays better with taskbar themes
// this way)
KWin::setType(winId(), NET::Dock);
- #if defined(TDE_MAKE_VERSION)
- #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9)
- //KDE 3.2 addition for the always on top issues
- KWin::setState(winId(), NET::KeepBelow);
- #endif
- #endif
+ KWin::setState(winId(), NET::KeepBelow);
}
void karamba::popupNotify(int)