summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-01-05 18:44:15 +0100
committerAl <gabriel.cortesi@outlook.com>2019-01-05 18:44:15 +0100
commit299a769a83a883e68ecf47ee928113ed45b533b3 (patch)
tree67ab72951d55837aebf17b64b1ccf1ace13c492e /src/mainwindow.cpp
parent14782a374c727c8fb2c6733ba0556fca9dc9eda6 (diff)
Improve performance of refresh (regex and code distribution)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 633ceb5f..52cb894f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -463,8 +463,8 @@ MainWindow::MainWindow(QSettings &initSettings
actionWidget->style()->polish(actionWidget);
}
- emit updatePluginCount();
- emit updateModCount();
+ updatePluginCount();
+ updateModCount();
}
@@ -2223,7 +2223,7 @@ void MainWindow::directory_refreshed()
void MainWindow::esplist_changed()
{
- emit updatePluginCount();
+ updatePluginCount();
}
void MainWindow::modorder_changed()
@@ -2483,7 +2483,7 @@ void MainWindow::restoreBackup_clicked()
void MainWindow::modlistChanged(const QModelIndex&, int)
{
m_OrganizerCore.currentProfile()->writeModlist();
- emit updateModCount();
+ updateModCount();
}
void MainWindow::modlistSelectionChanged(const QModelIndex &current, const QModelIndex&)