summaryrefslogtreecommitdiffstats
path: root/knotes
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 20:44:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 20:49:22 +0900
commit03b0b804eb016e2d9ae851db960e843d0d629e0a (patch)
tree0f3fea3adf799f6436296120999f628b54b2dbe5 /knotes
parent27556c799540cacccf0e520ddd93b2a527c9244f (diff)
downloadtdepim-03b0b804eb016e2d9ae851db960e843d0d629e0a.tar.gz
tdepim-03b0b804eb016e2d9ae851db960e843d0d629e0a.zip
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knotes')
-rw-r--r--knotes/knote.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index e0ac842a..f03943c9 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -1360,14 +1360,12 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
return true;
}
-#if KDE_IS_VERSION( 3, 5, 1 )
if ( ev->type() == TQEvent::MouseButtonRelease )
{
NETRootInfo wm_root( tqt_xdisplay(), NET::WMMoveResize );
wm_root.moveResizeRequest( winId(), e->globalX(), e->globalY(), NET::MoveResizeCancel );
return false;
}
-#endif
if ( m_menu && ( ev->type() == TQEvent::MouseButtonPress )
&& ( e->button() == TQt::RightButton ) )