Commit 5e5fcd88 authored by George Florea Bănuș's avatar George Florea Bănuș
Browse files

Fix loading files from cbr file on windows

parent 9af0bdee
Pipeline #53626 passed with stage
in 10 minutes and 59 seconds
......@@ -145,7 +145,8 @@ QStringList Unrar::list()
startSyncProcess(helper->kind->processListArgs(mFileName));
QStringList listFiles = helper->kind->processListing(QString::fromLocal8Bit(mStdOutData).split(QLatin1Char('\n'), QString::SkipEmptyParts));
const QRegularExpression regex(QStringLiteral("[\r\n]"));
QStringList listFiles = helper->kind->processListing(QString::fromLocal8Bit(mStdOutData).split(regex, QString::SkipEmptyParts));
QString subDir;
......
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