Commit 1a39569a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up akregator autotest

parent 9058d22b
configs/globalnotesettings
configs/knotesrc
information/VERSION_2 information/VERSION_2
information/exportdatatype.xml information/exportdatatype.xml
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
LoadListFromFile::LoadListFromFile(const QString &filename) LoadListFromFile::LoadListFromFile(const QString &filename)
{ {
QFile f(filename); QFile f(filename);
QVERIFY(f.open(QIODevice::ReadOnly)); const bool openFile = f.open(QIODevice::ReadOnly);
if (!openFile) {
qDebug() << " Unable to open filename " << filename;
}
QVERIFY(openFile);
const QByteArray content = f.readAll(); const QByteArray content = f.readAll();
f.close(); f.close();
const QString contextStr = QString::fromUtf8(content); const QString contextStr = QString::fromUtf8(content);
......
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