Skip to content

Commit

Permalink
Couple of fixes for older Qt versions. Patch from Tony Lill on -dev.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.mythtv.org/svn/branches/release-0-18-fixes@6078 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
cpinkham committed Apr 15, 2005
1 parent 0ef3ca5 commit 84c8d7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/settings.cpp
Expand Up @@ -928,7 +928,7 @@ void SimpleDBStorage::save()
if (query.isActive() && query.size() > 0) { if (query.isActive() && query.size() > 0) {
// Row already exists // Row already exists
querystr = QString("UPDATE %1 SET %2 WHERE %3;") querystr = QString("UPDATE %1 SET %2 WHERE %3;")
.arg(table, setClause(), whereClause()); .arg(table).arg(setClause()).arg(whereClause());
query.exec(querystr); query.exec(querystr);
if (!query.isActive()) if (!query.isActive())
MythContext::DBError("simpledbstorage update", querystr); MythContext::DBError("simpledbstorage update", querystr);
Expand Down
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
Expand Up @@ -3744,7 +3744,8 @@ int NuppelVideoPlayer::FlagCommercials(bool showPercentage, bool fullSpeed,
{ {
JobQueue::ChangeJobComment(jobID, QObject::tr( JobQueue::ChangeJobComment(jobID, QObject::tr(
"%1 Frames Completed @ %2 fps.") "%1 Frames Completed @ %2 fps.")
.arg(currentFrame->frameNumber) .arg((long)
currentFrame->frameNumber)
.arg(flagFPS)); .arg(flagFPS));
} }
} }
Expand Down

0 comments on commit 84c8d7d

Please sign in to comment.