summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-05 18:41:54 (GMT)
committerGitHub <noreply@github.com>2021-02-05 18:41:54 (GMT)
commit915cdfc986ba53fc138e4f6e1302acc9ba0d6381 (patch)
treea05bbf9dad726b3a4065d09fd4d82a00e6ceca6a /addon
parent3699ad35e6b5aa80723bf08b6f21db7836e8e76b (diff)
parent0bba023866ba25214a2cdeec6a3149e7861a14f7 (diff)
downloadDoxygen-915cdfc986ba53fc138e4f6e1302acc9ba0d6381.zip
Doxygen-915cdfc986ba53fc138e4f6e1302acc9ba0d6381.tar.gz
Doxygen-915cdfc986ba53fc138e4f6e1302acc9ba0d6381.tar.bz2
Merge pull request #8367 from albert-github/feature/bug_doxyw_split
Remove deprecated warnings for QString::SkipEmptyParts in doxywizard
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