From ad7711b87cbbf96ebfd23b7fb7f6c2c1c319905d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 31 Dec 2013 01:49:07 +0100 Subject: Fix silly bug with icon not changing on the toolbar when the icon key changes. --- gui/MainWindow.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'gui') diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 2ba0d509..9cb79ea3 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -639,10 +639,8 @@ void MainWindow::on_actionChangeInstIcon_triggered() if (dlg.result() == QDialog::Accepted) { m_selectedInstance->setIconKey(dlg.selectedIconKey); - /* auto ico = MMC->icons()->getIcon(dlg.selectedIconKey); ui->actionChangeInstIcon->setIcon(ico); - */ } } -- cgit v1.2.3