Get rid of unused Options menu items on Symbian.
[dorian] / chaptersdialog.cpp
index 44d16bb..24fe3dd 100644 (file)
@@ -1,4 +1,4 @@
-#include <QtGui>
+#include <QStringListModel>
 
 #include "chaptersdialog.h"
 #include "book.h"
@@ -18,7 +18,6 @@ ChaptersDialog::ChaptersDialog(Book *book, QWidget *parent): ListWindow(parent)
     list = new ListView;
     list->setSelectionMode(QAbstractItemView::SingleSelection);
     list->setModel(model);
-    list->setUniformItemSizes(true);
     addList(list);
     connect(list, SIGNAL(activated(const QModelIndex &)),
             this, SLOT(onItemActivated(const QModelIndex &)));