Typos and whitespace fixes

This commit is contained in:
luz.paz
2018-08-06 08:47:24 -04:00
committed by luz paz
parent f991d89ec2
commit baa6d89328
24 changed files with 38 additions and 38 deletions

View File

@@ -183,7 +183,7 @@ void ToolBarManager::setup(ToolBarItem* toolBarItems)
int max_width = getMainWindow()->width();
int top_width = 0;
ParameterGrp::handle hPref = App::GetApplication().GetUserParameter().GetGroup("BaseApp")
->GetGroup("MainWindow")->GetGroup("Toolbars");
QList<ToolBarItem*> items = toolBarItems->getItems();
@@ -272,8 +272,8 @@ void ToolBarManager::setup(ToolBarItem* item, QToolBar* toolbar) const
// set the tool button user data
if (action) action->setData(QString::fromLatin1((*it)->command().c_str()));
} else {
// Note: For toolbars we do not remove and readd the actions
// because this causes flicker effects. So, it could happen that the order of
// Note: For toolbars we do not remove and re-add the actions
// because this causes flicker effects. So, it could happen that the order of
// buttons doesn't match with the order of commands in the workbench.
int index = actions.indexOf(action);
actions.removeAt(index);