Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/QtToolBar.cpp

    r8859b5 r94d5ac6  
    4444  QToolBar(_parent)
    4545{
    46   addActionItem("undo", "undo the last Action", "edit-undo");
    47   addActionItem("redo", "redo the last Action", "edit-redo");
     46  addActionItem("undo", "undo", "edit-undo");
     47  addActionItem("redo", "redo", "edit-redo");
    4848}
    4949
     
    5757{
    5858  QAction *action = addAction(QString(description.c_str()));
    59   action->setIcon(FavActions.getIcon(token, icon_name));
    60   action->setToolTip(QString(description.c_str()));
     59  action->setIcon(QIcon::fromTheme(QString(icon_name.c_str())));
    6160  QtMenuPipe *pipe = new QtMenuPipe(token,action);
    6261  QObject::connect(action, SIGNAL(triggered()),pipe,SLOT(called()));
    6362  plumbing.push_back(pipe);
    64   present_actions.insert( token );
    6563}
    66 
    67 void QtToolBar::addFavoriteActionItems(const unsigned int _max)
    68 {
    69   // separate favorite actions
    70   addSeparator();
    71   FavActions.addToolBarActions(*this, _max);
    72 }
    73 
Note: See TracChangeset for help on using the changeset viewer.