Astyle fixes.
This commit is contained in:
parent
85d89c29c0
commit
df7ca21a31
|
@ -136,7 +136,7 @@ void ApplicationList::Copy(ApplicationList *list)
|
|||
}
|
||||
|
||||
Clear();
|
||||
for (int i = 0;i < list->GetApplicationCount();i++)
|
||||
for (int i = 0; i < list->GetApplicationCount(); i++)
|
||||
{
|
||||
AddApplicationType(list->GetApplicationName(i), list->GetApplicationPath(i));
|
||||
}
|
||||
|
|
|
@ -107,7 +107,7 @@ void MainWindow::CreateLanguageMenuItems()
|
|||
|
||||
QStringList languages = mTranslation->GetNames();
|
||||
|
||||
for (int i = 0;i < languages.size();i++)
|
||||
for (int i = 0; i < languages.size(); i++)
|
||||
{
|
||||
//Create an action for each language
|
||||
//Language name is pre translated
|
||||
|
@ -580,7 +580,7 @@ void MainWindow::SetLanguage(int index)
|
|||
|
||||
if (languages.size() <= actions.size())
|
||||
{
|
||||
for (int i=0;i<languages.size();i++)
|
||||
for (int i = 0; i < languages.size(); i++)
|
||||
{
|
||||
actions[i]->setText(tr(languages[i].toLatin1()));
|
||||
}
|
||||
|
@ -593,7 +593,7 @@ void MainWindow::MapLanguage(QAction *action)
|
|||
{
|
||||
//Find the action that has the language that user clicked
|
||||
QList<QAction *> actions = mLanguages->actions();
|
||||
for (int i = 0;i < actions.size();i++)
|
||||
for (int i = 0; i < actions.size(); i++)
|
||||
{
|
||||
if (actions[i] == action)
|
||||
{
|
||||
|
|
|
@ -354,7 +354,7 @@ void ResultsTree::contextMenuEvent(QContextMenuEvent * e)
|
|||
if (mContextItem && mApplications->GetApplicationCount() > 0 && mContextItem->parent())
|
||||
{
|
||||
//Go through all applications and add them to the context menu
|
||||
for (int i = 0;i < mApplications->GetApplicationCount();i++)
|
||||
for (int i = 0; i < mApplications->GetApplicationCount(); i++)
|
||||
{
|
||||
//Create an action for the application
|
||||
QAction *start = new QAction(mApplications->GetApplicationName(i), &menu);
|
||||
|
|
Loading…
Reference in New Issue