aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/library')
-rw-r--r--src/plugins/General/library/library.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/General/library/library.cpp b/src/plugins/General/library/library.cpp
index 7d9c92365..7f4db5f82 100644
--- a/src/plugins/General/library/library.cpp
+++ b/src/plugins/General/library/library.cpp
@@ -60,8 +60,7 @@ Library::Library(QObject *parent) : QObject(parent)
QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
m_dirs = settings.value("Library/dirs").toStringList();
- QAction *action = new QAction(tr("Update library"), this);
- action->setIcon(QIcon::fromTheme("view-refresh"));
+ QAction *action = new QAction(QIcon::fromTheme("view-refresh"), tr("Update library"), this);
UiHelper::instance()->addAction(action, UiHelper::TOOLS_MENU);
connect(action, SIGNAL(triggered()), SLOT(startDirectoryScanning()));
}