+ fix warning
This commit is contained in:
parent
c133457da5
commit
f295ac470a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user