From 9ef732aa0682eeb945d8a16839487f30c0e76db5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 11 Feb 2021 12:15:48 +0900 Subject: Simplified code from previous commit and fixed 'lock on screen' functionality after restoring the keyboard from a previous run. Signed-off-by: Michele Calgaro (cherry picked from commit b53e33352c2b7de5521b0944b30a0b12afa2f97e) --- src/DragWidget.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/DragWidget.cpp') 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" -- cgit v1.2.1