Prechádzať zdrojové kódy

Switch on debugging output

Ivo Wolf 14 rokov pred
rodič
commit
556c21365c

+ 2 - 2
Plugins/org.commontk.dah.core/ctkSoapMessageProcessorList.cpp

@@ -45,8 +45,8 @@ bool ctkSoapMessageProcessorList::process(
     const QtSoapMessage& message,
     QtSoapMessage* reply ) const
 {
-  //extern void DumpAll(const QtSoapType& type, int indent=0);
-  //DumpAll(message.method());
+  extern void DumpAll(const QtSoapType& type, int indent=0);
+  DumpAll(message.method());
 
   foreach(ctkSoapMessageProcessor* processor, this->Processors)
   {

+ 1 - 1
Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppLogic.cpp

@@ -211,7 +211,7 @@ void ctkExampleDicomAppLogic::buttonClicked()
   s=s+" loc.count:"+QString().setNum(locators.count());
   if(locators.count()>0)
   {
-    s=s+" URI: "+locators.begin()->URI;
+    s=s+" URI: "+locators.begin()->URI +" locatorUUID: "+locators.begin()->locator+" sourceUUID: "+locators.begin()->source;
     qDebug() << "URI: " << locators.begin()->URI;
     QString filename = locators.begin()->URI;
     if(filename.startsWith("file:/",Qt::CaseInsensitive))