]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/main.cpp
adapt Dolphin to kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Codin...
[dolphin.git] / src / main.cpp
index b0843a5e7a6206022fa535e37a92b5bf8c980b59..98a6a87f1fd437be497437b4efc59b129831c4e7 100644 (file)
 #include <klocale.h>
 
 static KCmdLineOptions options[] =
-{
-    { "+[Url]", I18N_NOOP( "Document to open" ), 0 },
-    KCmdLineLastOption
-};
+    {
+        { "+[Url]", I18N_NOOP("Document to open"), 0
+        },
+        KCmdLineLastOption
+    };
 
 int main(int argc, char **argv)
 {
@@ -64,11 +65,11 @@ int main(int argc, char **argv)
 #if 0
     if (false /* KDE4-TODO: app.isSessionRestored() */) {
         int n = 1;
-        while (KMainWindow::canBeRestored(n)){
+        while (KMainWindow::canBeRestored(n)) {
             Dolphin::mainWin().restore(n);
             ++n;
         }
     } else {
 #endif
-    return app.exec();
-}
+        return app.exec();
+    }