[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/kmidi
From:       Russell Miller <rmiller () duskglow ! com>
Date:       2003-07-03 16:49:27
[Download RAW message or body]

CVS commit by rmiller: 



CCMAIL: jv@sent.com

Applied patch from Joe Vannucci, making "make check" sane.

Patch required a "#include <iostream>" and using namespace std;
statement.  In a full fledged app, I would have chosen a different solution.
Please let me know if this doesn't work.  It works for me.


  M +5 -2      dcopplay.cpp   1.3


--- kdemultimedia/kmidi/dcopplay.cpp  #1.2:1.3
@@ -2,4 +2,7 @@
 #include <dcopclient.h>
 #include <qfileinfo.h>
+#include <iostream>
+
+using namespace std;
 
 int main( int argc, char** argv )
@@ -20,7 +23,7 @@ int main( int argc, char** argv )
 
     if (kapp->dcopClient()->send( "kmidi", "kmidi", "play(QString)", params))
-      debug("ok");
+      cerr << "ok" << endl;
     else
-      debug("ko");
+      cerr << "ko" << endl;
 
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic