Commit 0c00f44a authored by Eike Ziller's avatar Eike Ziller
Browse files

Todo: Better naming of enum value.



It's not the last, it's the count.

Change-Id: Ib739c34b952af022f83fa0c2d547154d70641456
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent d9015720
......@@ -59,7 +59,7 @@ enum OutputColumnIndex {
OUTPUT_COLUMN_TEXT,
OUTPUT_COLUMN_FILE,
OUTPUT_COLUMN_LINE,
OUTPUT_COLUMN_LAST
OUTPUT_COLUMN_COUNT
};
const char OUTPUT_COLUMN_TEXT_TITLE[] = QT_TRANSLATE_NOOP("Todo::Internal::TodoItemsModel", "Description");
......
......@@ -70,7 +70,7 @@ int TodoItemsModel::columnCount(const QModelIndex &parent) const
{
Q_UNUSED(parent)
return Constants::OUTPUT_COLUMN_LAST;
return Constants::OUTPUT_COLUMN_COUNT;
}
QVariant TodoItemsModel::data(const QModelIndex &index, int role) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment