Permalink
Browse files

Fix NULL in non-NULL column in an MSQLQuery.

  • Loading branch information...
daniel-kristjansson committed Nov 21, 2012
1 parent ed7839a commit 35ff26d382455af863ceaf4b1d05ff614f5c4fab
Showing with 3 additions and 1 deletion.
  1. +3 −1 mythtv/programs/mythshutdown/main.cpp
@@ -23,8 +23,10 @@ using namespace std;
#include "programinfo.h"
#include "signalhandling.h"
static void setGlobalSetting(const QString &key, const QString &value)
static void setGlobalSetting(const QString &key, const QString &v)
{
QString value = (v.isNull()) ? QString("") : v;
MSqlQuery query(MSqlQuery::InitCon());
if (query.isConnected())
{

0 comments on commit 35ff26d

Please sign in to comment.