Browse Source

Don't supply a plugin name to the starting application.

The example application uses org.commontk.dah.exampleapp as default
plugin.
Sascha Zelzer 14 years ago
parent
commit
d23097eeec
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Plugins/org.commontk.dah.examplehost/ctkDicomExampleHost.cpp

+ 2 - 1
Plugins/org.commontk.dah.examplehost/ctkDicomExampleHost.cpp

@@ -22,7 +22,8 @@ void ctkDicomExampleHost::StartApplication(QString AppPath){
     l.append(QString("http://localhost:") + QString::number(this->getHostPort()) + "/HostInterface" );
     l.append("--applicationURL");
     l.append(QString("http://localhost:") + QString::number(this->getAppPort()) + "/ApplicationInterface" );
-    l.append("dicomapp"); // the app plugin to use - has to be changed later
+    //by default, the ctkExampleHostedApp uses the org.commontk.dah.exampleapp plugin
+    //l.append("dicomapp"); // the app plugin to use - has to be changed later
     //if (!QProcess::startDetached (
     //{
     //    qCritical() << "application failed to start!";