From 8827510ec55eda169340b5414bd60eb3ba3bfb79 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 23 May 2010 11:03:14 +0200 Subject: Bugfix: margins in ListEditor Fix layout of AddMovieWizard. The ListEditor-Widget must have margins set to 0 to be laid out properly in a QWizardPage. --- listmodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'listmodel.h') diff --git a/listmodel.h b/listmodel.h index edb21ad..fb3612d 100644 --- a/listmodel.h +++ b/listmodel.h @@ -26,6 +26,7 @@ class ListModel : public QAbstractItemModel { QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; QModelIndex index(const QVariant &data) const; QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }; + const QString table() const { return mTable; }; int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &) const { return 1; }; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; -- cgit v1.2.3-70-g09d2