From 87eaae3e4e2f6d542956df870609b798b9fa9d26 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 19 Jul 2018 17:20:30 +0200 Subject: [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. --- src/server/mainwindow/mainwindow.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/server/mainwindow/mainwindow.h') 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 _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); -- cgit v1.2.3-55-g7522