diff options
author | Christian Klinger | 2016-06-01 13:00:00 +0200 |
---|---|---|
committer | Christian Klinger | 2016-06-01 13:00:00 +0200 |
commit | 1630ef0a7aec4869281257efc1735a555f581774 (patch) | |
tree | caf3a87f74d148c391f85160f1efc0c2a9cae52a /src/server | |
parent | added qStdOut() (use like qDebug()) (diff) | |
download | pvs2-1630ef0a7aec4869281257efc1735a555f581774.tar.gz pvs2-1630ef0a7aec4869281257efc1735a555f581774.tar.xz pvs2-1630ef0a7aec4869281257efc1735a555f581774.zip |
small UI improvement.
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/connectionframe/connectionframe.cpp | 1 | ||||
-rw-r--r-- | src/server/mainwindow/mainwindow.cpp | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp index e274bd5..e962e39 100644 --- a/src/server/connectionframe/connectionframe.cpp +++ b/src/server/connectionframe/connectionframe.cpp @@ -188,7 +188,6 @@ void ConnectionFrame::mouseReleaseEvent(QMouseEvent* event) // Only recognize a move if the distance is larger than _startDragDistance if ((this->pos() - _previousPosition).manhattanLength() > _startDragDistance ) { - qDebug("Moved"); emit frameMoved(true, this); } else diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index 28bf268..9a3bd76 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -315,7 +315,6 @@ ConnectionFrame* MainWindow::createFrame(QString computerId, QPoint pxCoord, QPo { // Allocate and resize const Room* room = Global::getCurrentRoom(); - qDebug() << "createFrame, access room: " << room; int width = getTileWidthPx() * (room == NULL ? 1 : room->clientSize.width()); int height = getTileHeightPx() * (room == NULL ? 1 : room->clientSize.height()); @@ -647,14 +646,12 @@ void MainWindow::resizeEvent(QResizeEvent* e) void MainWindow::lockContextButtons() { - qDebug() << "LOCK"; for (auto it = _contextButtons.begin(); it != _contextButtons.end(); ++it) { (*it)->setEnabled(false); } } void MainWindow::unlockContextButtons() { - qDebug() << "UNLOCK"; for (auto it = _contextButtons.begin(); it != _contextButtons.end(); ++it) { (*it)->setEnabled(true); } |