From c8a4f1fd8d3c9b50e51b7234123b3fbe0b979552 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 9 Apr 2007 19:12:54 +0000 Subject: adapt Dolphin to kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using: astyle --indent=spaces=4 --brackets=linux \ --indent-labels --pad=oper --unpad=paren \ --one-line=keep-statements --convert-tabs \ --indent-preprocessor \ `find -type f -name '*.cpp'` `find -type f -name '*.h'` svn path=/trunk/KDE/kdebase/apps/; revision=651981 --- src/main.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index b0843a5e7..98a6a87f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,10 +25,11 @@ #include 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(); + } -- cgit v1.3