+ fix warning

This commit is contained in:
wmayer 2015-10-10 09:48:45 +02:00
parent c133457da5
commit f295ac470a

View File

@ -748,7 +748,7 @@ void DlgCustomToolbarsImp::addCustomCommand(const QString& name, const QByteArra
else {
CommandManager& mgr = Application::Instance->commandManager();
if (mgr.addTo(cmd, bars.front())) {
QAction* action = action = bars.front()->actions().last();
QAction* action = bars.front()->actions().last();
// See ToolBarManager::setup(ToolBarItem* , QToolBar* )
// We have to add the user data in order to identify the command in
// removeCustomCommand(), moveUpCustomCommand() or moveDownCustomCommand()