projects
/
dorian
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
231cd74
)
Chapters dialog is back to normal.
author
Akos Polster
<akos@pipacs.com>
Thu, 18 Nov 2010 23:40:29 +0000
(
00:40
+0100)
committer
Akos Polster
<akos@pipacs.com>
Thu, 18 Nov 2010 23:40:29 +0000
(
00:40
+0100)
chaptersdialog.cpp
patch
|
blob
|
history
diff --git
a/chaptersdialog.cpp
b/chaptersdialog.cpp
index
378c17f
..
20f7824
100644
(file)
--- 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)