From 299a769a83a883e68ecf47ee928113ed45b533b3 Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 5 Jan 2019 18:44:15 +0100 Subject: Improve performance of refresh (regex and code distribution) --- src/mainwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.cpp') 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 ¤t, const QModelIndex&) -- cgit v1.3.1