diff options
author | Simon Rettberg | 2018-08-03 16:08:51 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-03 16:08:51 +0200 |
commit | 5b2c7bbd4a628469bab4cbf7468067855e21e784 (patch) | |
tree | 36450010f0dd9e2472b2603f8df6163468e66392 /src/server/mainwindow/mainwindow.h | |
parent | [server] Fix reload room button size (diff) | |
download | pvs2-5b2c7bbd4a628469bab4cbf7468067855e21e784.tar.gz pvs2-5b2c7bbd4a628469bab4cbf7468067855e21e784.tar.xz pvs2-5b2c7bbd4a628469bab4cbf7468067855e21e784.zip |
[server] Fix snap to grid for call with ignored frame param
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index a8bf974..86499af 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -75,7 +75,7 @@ private: int _lastClientCount; - QPoint closestFreeSlot(QPoint preferredPixels, ConnectionFrame* toIgnore); + QPoint closestFreeSlot(const QPoint preferredPixels, const ConnectionFrame* toIgnore); void placeFrameInFreeSlot(ConnectionFrame* frame, QPoint preferred = QPoint(-1, -1)); ConnectionFrame* createFrame(const QString &computerId = QString(), const QPoint *gridPosition = nullptr, bool fromRoomplan = false); void savePosition(ConnectionFrame *cf); |