Browse Source

COMP: return value required

ivowolf 14 years ago
parent
commit
211d94edea
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHost.cpp

+ 2 - 0
Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHost.cpp

@@ -16,7 +16,9 @@ int ctkDicomExampleHost::StartApplication(QString AppPath, QString App_URL, int
             AppPath,l))
     {
         qCritical() << "application failed to start!";
+        return 0;
     }
+    return 1;
 }
 
 QRect ctkDicomExampleHost::getAvailableScreen(const QRect& preferredScreen){