[mythtv] [PATCH] Fix editable ComboBoxSetting

Sean Cier scier at PostHorizon.com
Sun Oct 26 14:29:41 EST 2003


I'm having the same problem, but have a slightly different solution. 
Attached.

-spc

-- 
  /-                Sean Cier <scier at PostHorizon.com>                -\
(   I walk to the horizon, and there I find another... Anywhere is    )
  \-                http://www.PostHorizon.com/scier                 -/
-------------- next part --------------
--- libs/libmyth/settings.cpp.old	2003-10-26 14:24:25.000000000 -0500
+++ libs/libmyth/settings.cpp	2003-10-26 14:23:18.000000000 -0500
@@ -425,8 +425,8 @@
     if (isSet)
         widget->setCurrentItem(current);
 
-    connect(widget, SIGNAL(highlighted(int)),
-            this, SLOT(setValue(int)));
+    connect(widget, SIGNAL(highlighted(const QString&)),
+            this, SLOT(setValue(const QString&)));
     connect(this, SIGNAL(selectionAdded(const QString&,QString)),
             widget, SLOT(insertItem(const QString&)));
     connect(this, SIGNAL(selectionsCleared()),


More information about the mythtv-dev mailing list