]> Some of my projects - localmylist.git/commitdiff
MyListFileNode::updated should use the baseQuery().
authorAPTX <marek321@gmail.com>
Mon, 22 Apr 2013 01:53:11 +0000 (03:53 +0200)
committerAPTX <marek321@gmail.com>
Mon, 22 Apr 2013 01:53:11 +0000 (03:53 +0200)
localmylist/mylistnode.cpp

index 354b4709ae2897d41ac87879ad6d26d98f789745..99f8b7e63358ae4343a91ef0638f2f21b995ecad 100644 (file)
@@ -845,7 +845,7 @@ bool MyListFileNode::updated(Operation type)
        "SELECT %1 "
        "       FROM file f "
        "WHERE f.fid = :fid")
-       .arg(Database::fileFields()));
+       .arg(baseQuery()));
        q.bindValue(":fid", id());
 
        if(!MyList::instance()->database()->exec(q))