mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Make sure the properties panel is initially hidden
This commit is contained in:
parent
679c91435d
commit
0b874d9c42
@ -283,11 +283,11 @@ void PropertiesWidget::readSettings() {
|
|||||||
QSplitter *hSplitter = static_cast<QSplitter*>(parentWidget());
|
QSplitter *hSplitter = static_cast<QSplitter*>(parentWidget());
|
||||||
hSplitter->setSizes(slideSizes);
|
hSplitter->setSizes(slideSizes);
|
||||||
}
|
}
|
||||||
|
const int current_tab = settings.value("TorrentProperties/CurrentTab", -1).toInt();
|
||||||
|
m_tabBar->setCurrentIndex(current_tab);
|
||||||
if(!settings.value("TorrentProperties/Visible", false).toBool()) {
|
if(!settings.value("TorrentProperties/Visible", false).toBool()) {
|
||||||
setVisibility(false);
|
setVisibility(false);
|
||||||
}
|
}
|
||||||
const int current_tab = settings.value("TorrentProperties/CurrentTab", PropTabBar::MAIN_TAB).toInt();
|
|
||||||
m_tabBar->setCurrentIndex(current_tab);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertiesWidget::saveSettings() {
|
void PropertiesWidget::saveSettings() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user