diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-10-05 14:54:22 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-10-06 19:27:41 +0900 |
commit | eac5fa9db4545dd832b13bc5f79d7bb5d274c62b (patch) | |
tree | a11ebdcd9d44be4b20015092dd61e70cd5b2fefa /bab | |
parent | 6a98f451b6617ce0a3602f2e21b26acfb2bd6e8e (diff) | |
download | tde-style-baghira-eac5fa9db4545dd832b13bc5f79d7bb5d274c62b.tar.gz tde-style-baghira-eac5fa9db4545dd832b13bc5f79d7bb5d274c62b.zip |
Remove definition KDE_IS_VERSION.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 610b0fea26e0855ea2ded8d935288378335346b6)
Diffstat (limited to 'bab')
-rw-r--r-- | bab/main.cpp | 8 |
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(); |