Skip to content

Commit 35a41fd

Browse files
committed
Resolve use of QString::KeepEmptyParts for Qt 6
1 parent d3579f4 commit 35a41fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ruleparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void Rules::load(const QString &filename)
156156
qFatal("Could not read the rules file: %s", qPrintable(filename));
157157

158158
QTextStream s(&file);
159-
QStringList lines = s.readAll().split('\n', QString::KeepEmptyParts);
159+
QStringList lines = s.readAll().split('\n', Qt::KeepEmptyParts);
160160

161161
QStringList::iterator it;
162162
for(it = lines.begin(); it != lines.end(); ++it) {

0 commit comments

Comments
 (0)