From: Akos Polster Date: Thu, 18 Nov 2010 23:40:29 +0000 (+0100) Subject: Chapters dialog is back to normal. X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=91d09a1b39ba9f2e89885a695835626287067b1b;hp=231cd7411a850724066e8d9d0f487cffb8d78b96;p=dorian Chapters dialog is back to normal. --- diff --git a/chaptersdialog.cpp b/chaptersdialog.cpp index 378c17f..20f7824 100644 --- a/chaptersdialog.cpp +++ b/chaptersdialog.cpp @@ -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)