[mythtv] [mythtv-commits] mythtv commit: r15153 by stuartm

Nigel Pearson nigel at ind.tansu.com.au
Thu Dec 13 21:57:32 UTC 2007


% svn diff -r15152:15153 mythuibutton.cpp
Index: mythuibutton.cpp
===================================================================
--- mythuibutton.cpp    (revision 15152)
+++ mythuibutton.cpp    (revision 15153)
@@ -1,7 +1,6 @@
  #include <iostream>
  using namespace std;

-#include "mythcontext.h"
  #include "mythuibutton.h"
  #include "mythmainwindow.h"

...

@@ -299,7 +301,7 @@
      MythUIButton *button = dynamic_cast<MythUIButton *>(base);
      if (!button)
      {
-        VERBOSE(VB_IMPORTANT, "ERROR, bad parsing");
+        cerr << "ERROR, bad parsing" << endl;
          return;
      }


Note sure of the rationale behind this, but if the aim was
to remove a dependence on mythcontext.h, using mythverbose.h
may do the trick?

--
Nigel Pearson, nigel at ind.tansu.com.au|"I haven't tested it yet,
Telstra Net. Eng., Sydney, Australia | but it should be perfectly safe."
Office: 9202 3900    Fax:  9261 3912 |"Just a bit or harmless brain-
Mobile: 0408 664435  Home: 9792 6998 | manipulation, that's all" -  
Wallace


More information about the mythtv-dev mailing list