Add enum for EntryModel column.

This commit is contained in:
Florian Geyer 2013-04-07 21:17:08 +02:00
parent bf906a7867
commit 34c6b416b0
3 changed files with 19 additions and 11 deletions

View file

@ -70,7 +70,7 @@ void EntryView::emitEntryActivationSignal(const QModelIndex& index)
{
Entry* entry = entryFromIndex(index);
if (m_sortModel->mapToSource(index).column() == 3) {
if (m_sortModel->mapToSource(index).column() == EntryModel::Url) {
Q_EMIT openUrl(entry);
}
else {