summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorSimon Rettberg2018-08-03 16:08:51 +0200
committerSimon Rettberg2018-08-03 16:08:51 +0200
commit5b2c7bbd4a628469bab4cbf7468067855e21e784 (patch)
tree36450010f0dd9e2472b2603f8df6163468e66392 /src/server/mainwindow/mainwindow.h
parent[server] Fix reload room button size (diff)
downloadpvs2-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.h2
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);