From 610b0fea26e0855ea2ded8d935288378335346b6 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 5 Oct 2021 14:54:22 +0200 Subject: Remove definition KDE_IS_VERSION. Signed-off-by: gregory guy --- bab/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bab') 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 #include #include -#if KDE_IS_VERSION(3,4,0) + #include -#endif + #include #include #include @@ -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(); -- cgit v1.2.1