OSDN Git Service

ProjectFile.h: returns QString instead of reference
authorKAWACHI Takashi <tkawachi@gmail.com>
Fri, 16 Oct 2009 13:14:30 +0000 (22:14 +0900)
committerKAWACHI Takashi <tkawachi@gmail.com>
Fri, 16 Oct 2009 13:14:30 +0000 (22:14 +0900)
taskjuggler/ProjectFile.h

index 5fd6611..65979b8 100644 (file)
@@ -91,7 +91,7 @@ public:
         if (!openFiles.isEmpty())
             openFiles.last()->returnToken(t, buf);
     }
-    const QString& getFile()
+    const QString getFile()
     {
         if (openFiles.isEmpty())
             return QString::null;