[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r3865: A const fix and a couple minor whitespace tweaks. (vidalia/trunk/src/vidalia)



Author: edmanm
Date: 2009-06-16 02:10:37 -0400 (Tue, 16 Jun 2009)
New Revision: 3865

Modified:
   vidalia/trunk/src/vidalia/main.cpp
Log:

A const fix and a couple minor whitespace tweaks.


Modified: vidalia/trunk/src/vidalia/main.cpp
===================================================================
--- vidalia/trunk/src/vidalia/main.cpp	2009-06-16 05:53:13 UTC (rev 3864)
+++ vidalia/trunk/src/vidalia/main.cpp	2009-06-16 06:10:37 UTC (rev 3865)
@@ -63,10 +63,9 @@
 #endif
 }
 
-
 /** Returns true if there is already another Vidalia process running. */
 bool
-is_vidalia_running(QString pidfile)
+is_vidalia_running(const QString &pidfile)
 {
   /* Read the pidfile and find out if that process still exists */
   qint64 pid = read_pidfile(pidfile);
@@ -92,7 +91,7 @@
 {
   Q_INIT_RESOURCE(vidalia);
   QStringList args = char_array_to_stringlist(argv+1, argc-1);
-
+ 
   /* Construct the application object. Qt strips any command-line arguments
    * that it recognizes in argv, so we'll pass a stringlist of the original
    * list of command-line arguments too. */