[mythtv] [PATCH] Fix argument marker in siparser debug message
Tom Hughes
tom at compton.nu
Thu Apr 14 18:14:58 UTC 2005
The attached patch fixed an incorrect argument marker in one of the
siparser debug messages. As thing stands the following warning is
produced:
QString::arg(): Argument missing: ChannelNumbers Present using Descriptor %d, 131
2005-04-14 18:30:16.371 SIParser: ChannelNumbers Present using Descriptor %d
Changing the %d to %1 should fix it, which is what this patch does.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
-------------- next part --------------
Index: libs/libmythtv/siparser.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/siparser.cpp,v
retrieving revision 1.15
diff -u -u -r1.15 siparser.cpp
--- libs/libmythtv/siparser.cpp 10 Apr 2005 04:55:47 -0000 1.15
+++ libs/libmythtv/siparser.cpp 14 Apr 2005 18:12:28 -0000
@@ -307,7 +307,7 @@
if (QString(query.value(0).toString()) == "channel_numbers")
{
PrivateTypes.ChannelNumbers = query.value(1).toInt();
- SIPARSER(QString("ChannelNumbers Present using Descriptor %d")
+ SIPARSER(QString("ChannelNumbers Present using Descriptor %1")
.arg(PrivateTypes.ChannelNumbers));
}
if (QString(query.value(0).toString()) == "force_guide_present")
More information about the mythtv-dev
mailing list