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

Merge pull request #4424

ezavod (1):
      fix(ui): do not save splitter state in multiple windows mode
This commit is contained in:
sudden6 2017-05-30 12:55:01 +02:00
commit 46c848c07f
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -2000,7 +2000,9 @@ void Widget::saveWindowGeometry()
void Widget::saveSplitterGeometry()
{
Settings::getInstance().setSplitterState(ui->mainSplitter->saveState());
if (!Settings::getInstance().getSeparateWindow()) {
Settings::getInstance().setSplitterState(ui->mainSplitter->saveState());
}
}
void Widget::onSplitterMoved(int pos, int index)