summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2018-07-20 15:41:45 +0200
committerSimon Rettberg2018-07-20 15:41:45 +0200
commite354df7172efbe25e94f1c6ae5516912dad1d114 (patch)
treedab58ddbeb78743ebad07669d932d475ac5ba5df /src/server/mainwindow/mainwindow.cpp
parent[client] Don't activateWindow VNC viewer on open in multiscreen mode (diff)
downloadpvs2-e354df7172efbe25e94f1c6ae5516912dad1d114.tar.gz
pvs2-e354df7172efbe25e94f1c6ae5516912dad1d114.tar.xz
pvs2-e354df7172efbe25e94f1c6ae5516912dad1d114.zip
[server] Resize thumbs server side on mismatch
The server requests the appropriate size thumbnail from the client so no bandwidth will be wasted. However, due to privacy concerns, the client might actually send a thumb that's smaller than requested, resulting in a tiny thumbnail on the server with huge gray borders. The server will now scale up the image in those cases. We'd actually also scale the image down now if it were too large, but this doesn't happen under normal circumstances.
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 523c61c..5daade4 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -642,9 +642,6 @@ void MainWindow::onFrameClicked(ConnectionFrame* frame)
getSelectedFrame()->setSelection(false);
}
frame->setSelection(true);
- qDebug() << "ID of frame: " << frame->computerId();
- qDebug() << "ID of selectedFrame: " << getSelectedFrame()->computerId();
- qDebug() << "position of selectedFrame: " << getSelectedFrame()->getGridPosition();
unlockContextButtons();
}