Chapters dialog is back to normal.
authorAkos Polster <akos@pipacs.com>
Thu, 18 Nov 2010 23:40:29 +0000 (00:40 +0100)
committerAkos Polster <akos@pipacs.com>
Thu, 18 Nov 2010 23:40:29 +0000 (00:40 +0100)
chaptersdialog.cpp

index 378c17f..20f7824 100644 (file)
@@ -15,9 +15,8 @@ ChaptersDialog::ChaptersDialog(Book *book, QWidget *parent):
     }
     QStringListModel *model = new QStringListModel(data, this);
     setModel(model);
-    // FIXME
-    // connect(list, SIGNAL(activated(const QModelIndex &)),
-    //         this, SLOT(onItemActivated(const QModelIndex &)));
+    connect(this, SIGNAL(activated(const QModelIndex &)),
+            this, SLOT(onItemActivated(const QModelIndex &)));
 }
 
 void ChaptersDialog::onItemActivated(const QModelIndex &index)