mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
commit
afeca313ba
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user