Browse Source

Slight window position fix

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
4b1eade157
  1. 4
      src/mainwindow.cpp

4
src/mainwindow.cpp

@ -470,8 +470,8 @@ void MainWindow::readSettings() { @@ -470,8 +470,8 @@ void MainWindow::readSettings() {
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
settings.beginGroup(QString::fromUtf8("MainWindow"));
if(settings.contains("geometry")) {
restoreGeometry(settings.value("geometry").toByteArray());
m_posInitialized = true;
if(restoreGeometry(settings.value("geometry").toByteArray()))
m_posInitialized = true;
}
const QByteArray splitterState = settings.value("vsplitterState").toByteArray();
if(splitterState.isEmpty()) {

Loading…
Cancel
Save