Permalink
Browse files

Couple of fixes for older Qt versions. Patch from Tony Lill on -dev.

git-svn-id: http://svn.mythtv.org/svn/branches/release-0-18-fixes@6078 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
1 parent 0ef3ca5 commit 84c8d7d6eb99836950ccd6fc6a2198709e3caa75 @cpinkham cpinkham committed Apr 15, 2005
Showing with 3 additions and 2 deletions.
  1. +1 −1 mythtv/libs/libmyth/settings.cpp
  2. +2 −1 mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
@@ -928,7 +928,7 @@ void SimpleDBStorage::save()
if (query.isActive() && query.size() > 0) {
// Row already exists
querystr = QString("UPDATE %1 SET %2 WHERE %3;")
- .arg(table, setClause(), whereClause());
+ .arg(table).arg(setClause()).arg(whereClause());
query.exec(querystr);
if (!query.isActive())
MythContext::DBError("simpledbstorage update", querystr);
@@ -3744,7 +3744,8 @@ int NuppelVideoPlayer::FlagCommercials(bool showPercentage, bool fullSpeed,
{
JobQueue::ChangeJobComment(jobID, QObject::tr(
"%1 Frames Completed @ %2 fps.")
- .arg(currentFrame->frameNumber)
+ .arg((long)
+ currentFrame->frameNumber)
.arg(flagFPS));
}
}

0 comments on commit 84c8d7d

Please sign in to comment.