Fix MainWindow coding style (Issue #2192)

This commit is contained in:
Vladimir Golovnev (Glassez) 2016-01-24 13:16:25 +03:00
parent a6595507f0
commit 1760beed17
6 changed files with 702 additions and 681 deletions

View file

@ -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()) {