1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5167

ezavod (1):
      fix(chatform): name in window title and close detached chats
This commit is contained in:
sudden6 2018-06-06 08:19:19 +02:00
commit 83d4a21ef6
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -109,6 +109,7 @@ ContentDialog::ContentDialog(QWidget* parent)
setMinimumSize(minSize);
setAttribute(Qt::WA_DeleteOnClose);
setObjectName("detached");
QByteArray geometry = s.getDialogGeometry();
@ -121,6 +122,8 @@ ContentDialog::ContentDialog(QWidget* parent)
SplitterRestorer restorer(splitter);
restorer.restore(s.getDialogSplitterState(), size());
username = Core::getInstance()->getUsername();
currentDialog = this;
setAcceptDrops(true);