mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Fix MainWindow coding style (Issue #2192)
This commit is contained in:
committed by
sledgehammer999
parent
f6b4b5f6f0
commit
99ca42bf48
@@ -373,7 +373,7 @@ void PropertiesWidget::reloadPreferences() {
|
||||
|
||||
void PropertiesWidget::loadDynamicData() {
|
||||
// Refresh only if the torrent handle is valid and if visible
|
||||
if (!m_torrent || (main_window->getCurrentTabWidget() != transferList) || (state != VISIBLE)) return;
|
||||
if (!m_torrent || (main_window->currentTabWidget() != transferList) || (state != VISIBLE)) return;
|
||||
|
||||
// Transfer infos
|
||||
switch(stackedProperties->currentIndex()) {
|
||||
|
||||
Reference in New Issue
Block a user