[mythtv] Compile error 1/3/02
Bruce Markey
mythtv-dev@snowman.net
Fri Jan 3 22:25:51 EST 2003
This is a multi-part message in MIME format.
--------------050403020300020509040307
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Bruce Markey wrote:
> Dan Man wrote:
>
>> I'm getting a bug trying to compile cvs code. I'm looking at the code,
>> but not getting very far.. Here's the output at the error:
>
>
>> <snip>
>
> ...
>
>> videosource.h:363: no matching function for call to
>> `SourceID::getCurrentLabel(
>> )'
>
>
> Saw the same thing. It appears that getCurrentLabel was
> renamed getSelectionLabel in settings.h . For now, I just
> edited videosource.h and didn't verify that it is the
> 'right' solution but it compiles and I trust it will be
> fixed sometime today.
That was the 1/3/02 attachment here is the 1/3/03 version ;-).
-- bjm
--------------050403020300020509040307
Content-Type: text/plain;
name="vidsrc.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="vidsrc.diff"
--- MC.orig/libs/libmythtv/videosource.h 2002-12-28 21:14:48.000000000 -0800
+++ MC/libs/libmythtv/videosource.h 2003-01-03 02:53:42.000000000 -0800
@@ -360,7 +360,7 @@
void loadByID(QSqlDatabase* db, int id);
void loadByInput(QSqlDatabase* db, int cardid, QString input);
- QString getSourceName(void) const { return sourceid->getCurrentLabel(); };
+ QString getSourceName(void) const { return sourceid->getSelectionLabel(); };
virtual void save(QSqlDatabase* db);
--------------050403020300020509040307--
More information about the mythtv-dev
mailing list