From fd2fd7a60694166f7a6589a2f16866de9b3dd707 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 22 Feb 2016 21:12:12 +0100 Subject: Fixed build --- framework/mail/maillistmodel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework') diff --git a/framework/mail/maillistmodel.cpp b/framework/mail/maillistmodel.cpp index 0bed1305..b46fabf8 100644 --- a/framework/mail/maillistmodel.cpp +++ b/framework/mail/maillistmodel.cpp @@ -21,6 +21,7 @@ #include "maillistmodel.h" #include +#include MailListModel::MailListModel(QObject *parent) @@ -77,6 +78,7 @@ QVariant MailListModel::data(const QModelIndex &idx, int role) const QFile file(filename); if (file.open(QFile::ReadOnly)) { auto content = file.readAll(); + qWarning() << filename << content; return content; } else { qWarning() << "Failed to open the file"; -- cgit v1.2.3