From 125af43d901c37480d3a245ae464af02c1b55589 Mon Sep 17 00:00:00 2001 From: apa420 Date: Fri, 10 Aug 2018 00:15:42 +0200 Subject: [PATCH] Fixed issue, everything except the main feature work now --- src/controllers/notifications/NotificationModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/notifications/NotificationModel.cpp b/src/controllers/notifications/NotificationModel.cpp index e8ecbc064..cd103d1d3 100644 --- a/src/controllers/notifications/NotificationModel.cpp +++ b/src/controllers/notifications/NotificationModel.cpp @@ -15,7 +15,7 @@ NotificationModel::NotificationModel(QObject *parent) QString NotificationModel::getItemFromRow(std::vector &row, const QString &original) { - return QString(row[0]->data().toString()); + return QString(row[0]->data(Qt::DisplayRole).toString()); } void NotificationModel::getRowFromItem(const QString &item,