Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /