From a3d9cab9edae313f2f172688a1aa9b352ec7bbd6 Mon Sep 17 00:00:00 2001 From: Arno Moeller Date: Thu, 17 Jun 2010 14:41:08 +0200 Subject: Fixed SeriesTreeModel There was no serious problem with the database schema. Maybe I should have gone to bed earlier. Updating and changing series names now works. --- moviemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'moviemodel.cpp') diff --git a/moviemodel.cpp b/moviemodel.cpp index d9b0c22..c77172d 100644 --- a/moviemodel.cpp +++ b/moviemodel.cpp @@ -56,7 +56,7 @@ MovieModel::MovieModel(QObject *parent) : QAbstractItemModel(parent) { QSqlQuery *c9 = new QSqlQuery; c9->prepare("UPDATE movies set ipartno = :value WHERE imovid = :id"); mColumnQueries << c9; - populate(); + //populate(); } MovieModel::~MovieModel(){ -- cgit v1.2.3-70-g09d2