Skip to content

Commit

Permalink
Fix load icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Montel authored and schuay committed Jul 15, 2015
1 parent 97084c5 commit 12cee5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ void MainWindow::setupActions() {

m_action_save_state = actionCollection()->addAction("save-position");
m_action_save_state->setText(i18n("Save Position"));
m_action_save_state->setIcon(QIcon("list-add"));
m_action_save_state->setIcon(QIcon::fromTheme("list-add"));
actionCollection()->setDefaultShortcut(m_action_save_state, QKeySequence(Qt::CTRL + Qt::Key_S));
connect(m_action_save_state, SIGNAL(triggered()), this, SLOT(saveState()));

m_action_load_state = actionCollection()->addAction("load-position");
m_action_load_state->setText(i18n("Load Position"));
m_action_load_state->setIcon(QIcon("view-refresh"));
m_action_load_state->setIcon(QIcon::fromTheme("view-refresh"));
actionCollection()->setDefaultShortcut(m_action_load_state, QKeySequence(Qt::CTRL + Qt::Key_L));
connect(m_action_load_state, SIGNAL(triggered()), this, SLOT(loadState()));

Expand Down

0 comments on commit 12cee5e

Please sign in to comment.