summaryrefslogtreecommitdiffstats
path: root/src/DragWidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-02-11 12:15:48 +0900
committerMichele Calgaro <[email protected]>2021-02-11 12:36:09 +0900
commit9ef732aa0682eeb945d8a16839487f30c0e76db5 (patch)
tree74c8ce9c025016446be6f795ca4be50bdddc1bb9 /src/DragWidget.cpp
parent16e7cd436a26f2c3c401034082e739543ec7860e (diff)
downloadkvkbd-9ef732aa0682eeb945d8a16839487f30c0e76db5.tar.gz
kvkbd-9ef732aa0682eeb945d8a16839487f30c0e76db5.zip
Simplified code from previous commit and fixed 'lock on screen' functionality after restoring the keyboard from a previous run.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b53e33352c2b7de5521b0944b30a0b12afa2f97e)
Diffstat (limited to 'src/DragWidget.cpp')
-rw-r--r--src/DragWidget.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/DragWidget.cpp b/src/DragWidget.cpp
index d6e495c..395a56b 100644
--- a/src/DragWidget.cpp
+++ b/src/DragWidget.cpp
@@ -37,14 +37,4 @@ void DragWidget::mouseMoveEvent(TQMouseEvent *e)
TQWidget::move(curr);
}
-void DragWidget::setLocked(bool mode)
-{
- locked=mode;
-}
-
-const bool DragWidget::isLocked() const
-{
- return locked;
-}
-
#include "DragWidget.moc"