diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-06 21:16:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-06 21:16:46 +0900 |
| commit | 4afaa31411ecdf0779d48662cf78d5cdc593ec53 (patch) | |
| tree | 60538645e888a231882576e8ba10307f23c0ec7f /chalk/plugins | |
| parent | 3a121c599732a399265a02efed9f8b60d8df7603 (diff) | |
| download | koffice-master.tar.gz koffice-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/plugins')
| -rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp | 6 | ||||
| -rw-r--r-- | chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp index 1233fc1be..7877276e1 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp +++ b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp @@ -128,13 +128,7 @@ void KisToolZoom::deactivate() void KisToolZoom::slotTimer() { -#if KDE_IS_VERSION(3,4,0) int state = tdeApp->keyboardMouseState() & (TQt::ShiftButton|TQt::ControlButton|TQt::AltButton); -#else - int state = tdeApp->keyboardModifiers() & (TDEApplication::ShiftModifier - |TDEApplication::ControlModifier|TDEApplication::Modifier1); -#endif - if (state & TQt::ControlButton) { m_subject->canvasController()->setCanvasCursor(m_minusCursor); } else { diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp index b1a232450..4a15e9b73 100644 --- a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp +++ b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp @@ -165,12 +165,7 @@ void KisToolSelectSimilar::buttonPress(KisButtonPressEvent *e) void KisToolSelectSimilar::slotTimer() { -#if KDE_IS_VERSION(3,4,0) int state = tdeApp->keyboardMouseState() & (TQt::ShiftButton|TQt::ControlButton|TQt::AltButton); -#else - int state = tdeApp->keyboardModifiers() & (TDEApplication::ShiftModifier - |TDEApplication::ControlModifier|TDEApplication::Modifier1); -#endif enumSelectionMode action; if (state == TQt::ShiftButton) |
