Skip to content

Commit 0bba023

Browse files
committed
Remove deprecated warnings for QString::SkipEmptyParts in doxywizard
Qt made `QString::SkipEmptyParts` deprecated (as of version 5.14) in favor of `Qt::SkipEmptyParts`
1 parent 6a72018 commit 0bba023

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addon/doxywizard/doxywizard.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,11 @@ void MainWindow::runDoxygen()
553553
m_runProcess->setEnvironment(env);
554554

555555
QStringList args;
556+
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
557+
QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),Qt::SkipEmptyParts);
558+
#else
556559
QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),QString::SkipEmptyParts);
560+
#endif
557561

558562
args << runOptions;
559563
args << QString::fromLatin1("-b"); // make stdout unbuffered

0 commit comments

Comments
 (0)