summaryrefslogtreecommitdiffstats
path: root/bab/main.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2021-10-05 14:54:22 +0200
committergregory guy <[email protected]>2021-10-06 11:13:05 +0200
commit610b0fea26e0855ea2ded8d935288378335346b6 (patch)
tree79ae8f19d6e41b985729f79c3aadb4c0db5deefc /bab/main.cpp
parent6216a7aa09fecd0262e90e9ee596eb711f8f65ad (diff)
downloadtde-style-baghira-610b0fea26e0855ea2ded8d935288378335346b6.tar.gz
tde-style-baghira-610b0fea26e0855ea2ded8d935288378335346b6.zip
Remove definition KDE_IS_VERSION.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'bab/main.cpp')
-rw-r--r--bab/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bab/main.cpp b/bab/main.cpp
index a4a5682..3650888 100644
--- a/bab/main.cpp
+++ b/bab/main.cpp
@@ -40,9 +40,9 @@
#include <klibloader.h>
#include <tdelocale.h>
#include <kprocess.h>
-#if KDE_IS_VERSION(3,4,0)
+
#include <twin.h>
-#endif
+
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/extensions/shape.h>
@@ -76,10 +76,10 @@ int main(int argc, char **argv)
app.setMainWidget(mainBAB);
Corner leftCorner(Corner::left);
Corner rightCorner(Corner::right);
-#if KDE_IS_VERSION(3,4,0)
+
KWin::setShadowSize(leftCorner.winId(), 0);
KWin::setShadowSize(rightCorner.winId(), 0);
-#endif
+
if (!mainBAB->cornerCheck->isChecked())
{
leftCorner.hide();