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:
commit
83d4a21ef6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user