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

Merge pull request #4389

ezavod (1):
      fix(ui): restore splitter state
This commit is contained in:
sudden6 2017-05-14 12:51:52 +02:00
commit afeca313ba
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,7 @@ ContentDialog::ContentDialog(SettingsWidget* settingsWidget, QWidget* parent)
}
SplitterRestorer restorer(splitter);
restorer.restore(s.getDialogSettingsGeometry(), size());
restorer.restore(s.getDialogSplitterState(), size());
currentDialog = this;
setAcceptDrops(true);

View File

@ -662,6 +662,9 @@ void Widget::onSeparateWindowChanged(bool separate, bool clicked)
setMinimumWidth(775);
SplitterRestorer restorer(ui->mainSplitter);
restorer.restore(Settings::getInstance().getSplitterState(), size());
onAddClicked();
} else {
int width = ui->friendList->size().width();