astyle formatting

This commit is contained in:
Daniel Marjamäki 2010-08-15 08:11:32 +02:00
parent 556ef9afcf
commit 676e0d2c70
1 changed files with 25 additions and 23 deletions

View File

@ -40,7 +40,8 @@ void ApplicationList::LoadSettings(QSettings *programSettings)
if (names.empty() && paths.empty()) if (names.empty() && paths.empty())
{ {
do { do
{
// use as default for gnome environments // use as default for gnome environments
if (QFileInfo("/usr/bin/gedit").isExecutable()) if (QFileInfo("/usr/bin/gedit").isExecutable())
{ {
@ -59,7 +60,8 @@ void ApplicationList::LoadSettings(QSettings *programSettings)
AddApplicationType("notepad++", "%PROGRAMFILES%\\Notepad++\\notepad++.exe -n(line) (file)"); AddApplicationType("notepad++", "%PROGRAMFILES%\\Notepad++\\notepad++.exe -n(line) (file)");
break; break;
} }
} while ( 0 ); }
while (0);
} }
if (names.size() == paths.size()) if (names.size() == paths.size())