mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Slight window position fix
This commit is contained in:
parent
b79ed40e32
commit
4b1eade157
@ -470,7 +470,7 @@ void MainWindow::readSettings() {
|
|||||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||||
settings.beginGroup(QString::fromUtf8("MainWindow"));
|
settings.beginGroup(QString::fromUtf8("MainWindow"));
|
||||||
if(settings.contains("geometry")) {
|
if(settings.contains("geometry")) {
|
||||||
restoreGeometry(settings.value("geometry").toByteArray());
|
if(restoreGeometry(settings.value("geometry").toByteArray()))
|
||||||
m_posInitialized = true;
|
m_posInitialized = true;
|
||||||
}
|
}
|
||||||
const QByteArray splitterState = settings.value("vsplitterState").toByteArray();
|
const QByteArray splitterState = settings.value("vsplitterState").toByteArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user