summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-01-31 13:07:22 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-01-31 13:07:22 (GMT)
commit0bba023866ba25214a2cdeec6a3149e7861a14f7 (patch)
tree0c2b166c778e180760bb52a4cc284b3da259b3a0 /addon
parent6a7201851a1667da40b4e2a1cf7b481c2d386803 (diff)
downloadDoxygen-0bba023866ba25214a2cdeec6a3149e7861a14f7.zip
Doxygen-0bba023866ba25214a2cdeec6a3149e7861a14f7.tar.gz
Doxygen-0bba023866ba25214a2cdeec6a3149e7861a14f7.tar.bz2
Remove deprecated warnings for QString::SkipEmptyParts in doxywizard
Qt made `QString::SkipEmptyParts` deprecated (as of version 5.14) in favor of `Qt::SkipEmptyParts`
Diffstat (limited to 'addon')
-rwxr-xr-xaddon/doxywizard/doxywizard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index f713025..5031221 100755
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -553,7 +553,11 @@ void MainWindow::runDoxygen()
m_runProcess->setEnvironment(env);
QStringList args;
+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
+ QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),Qt::SkipEmptyParts);
+#else
QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),QString::SkipEmptyParts);
+#endif
args << runOptions;
args << QString::fromLatin1("-b"); // make stdout unbuffered