diff options
author | Simon Rettberg | 2018-07-19 17:20:30 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-07-19 17:20:30 +0200 |
commit | 87eaae3e4e2f6d542956df870609b798b9fa9d26 (patch) | |
tree | 9cc85ec51589e1e7b14dae7e05a059b15a8cf8d2 /src/server/mainwindow/mainwindow.h | |
parent | [server] SessionNameWindow: Set focus to text box on open (diff) | |
download | pvs2-87eaae3e4e2f6d542956df870609b798b9fa9d26.tar.gz pvs2-87eaae3e4e2f6d542956df870609b798b9fa9d26.tar.xz pvs2-87eaae3e4e2f6d542956df870609b798b9fa9d26.zip |
[server] Offer deleting temp. clients on session name change
If the user changes the session name, we now ask whether to
disconnect and delete all clients that just connected via
session name and don't belong to the currently loaded room
layout.
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index cf7b068..4e99747 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -70,7 +70,6 @@ private: None } _mode; int _streamingSource; - int _countSessionNameUpdate; QList<ConnectionFrame*> _clientFrames; ListenServer *_listenServer; @@ -80,8 +79,7 @@ private: QPoint closestFreeSlot(QPoint preferredPixels, ConnectionFrame* toIgnore); void placeFrameInFreeSlot(ConnectionFrame* frame, QPoint preferred = QPoint(-1, -1)); - ConnectionFrame* createFrame(); - ConnectionFrame* createFrame(QString computerId, QPoint gridPosition); + ConnectionFrame* createFrame(const QString &computerId = QString(), const QPoint *gridPosition = NULL, bool fromRoomplan = false); void savePosition(ConnectionFrame *cf); void startVncServerIfNecessary(int from); void tellClientCurrentSituation(Client* client); |