mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 09:16:05 +03:00
Slight window position fix
This commit is contained in:
parent
b79ed40e32
commit
4b1eade157
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue