Fixed issue, everything except the main feature work now

This commit is contained in:
apa420 2018-08-10 00:15:42 +02:00
parent 5437a6dd4d
commit 125af43d90

View file

@ -15,7 +15,7 @@ NotificationModel::NotificationModel(QObject *parent)
QString NotificationModel::getItemFromRow(std::vector<QStandardItem *> &row, QString NotificationModel::getItemFromRow(std::vector<QStandardItem *> &row,
const QString &original) const QString &original)
{ {
return QString(row[0]->data().toString()); return QString(row[0]->data(Qt::DisplayRole).toString());
} }
void NotificationModel::getRowFromItem(const QString &item, void NotificationModel::getRowFromItem(const QString &item,