summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoView.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-06 21:16:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-06 21:16:46 +0900
commit4afaa31411ecdf0779d48662cf78d5cdc593ec53 (patch)
tree60538645e888a231882576e8ba10307f23c0ec7f /lib/kofficecore/KoView.cpp
parent3a121c599732a399265a02efed9f8b60d8df7603 (diff)
downloadkoffice-4afaa31411ecdf0779d48662cf78d5cdc593ec53.tar.gz
koffice-4afaa31411ecdf0779d48662cf78d5cdc593ec53.zip
Remove use of KDE_IS_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficecore/KoView.cpp')
-rw-r--r--lib/kofficecore/KoView.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp
index 5c7d09e8c..26a37b030 100644
--- a/lib/kofficecore/KoView.cpp
+++ b/lib/kofficecore/KoView.cpp
@@ -611,10 +611,7 @@ void KoView::slotAutoScroll( )
if ( actuallyDoScroll )
{
- int state=0;
-#if KDE_IS_VERSION(3,4,0)
- state = tdeApp->keyboardMouseState();
-#endif
+ int state = tdeApp->keyboardMouseState();
pos = canvas()->mapFrom(this, pos);
TQMouseEvent * event = new TQMouseEvent(TQEvent::MouseMove, pos, 0, state);