Skip to content

Commit d6b379b

Browse files
committed
Resolve use of QIODevice::WriteOnly for Qt 6
1 parent 77f1c96 commit d6b379b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandLineParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ CommandLineParser::~CommandLineParser()
327327

328328
void CommandLineParser::usage(const QString &name, const QString &argumentDescription)
329329
{
330-
QTextStream cout(stdout, QIODevice::WriteOnly);
330+
QTextStream cout(stdout, QIODeviceBase::WriteOnly);
331331
cout << "Usage: " << d->argumentStrings[0];
332332
if (! name.isEmpty())
333333
cout << " " << name;

0 commit comments

Comments
 (0)