30bde6d47a8727347f6deaa4b318669d078f85d2 broke the QProcess::start calls

Albert Astals Cid aacid at kde.org
Sat May 9 00:34:09 BST 2020


diff --git a/addons/kate-ctags/kate_ctags_plugin.cpp b/addons/kate-ctags/kate_ctags_plugin.cpp
index 3af25faaf..fee385932 100644
--- a/addons/kate-ctags/kate_ctags_plugin.cpp
+++ b/addons/kate-ctags/kate_ctags_plugin.cpp
@@ -220,7 +220,7 @@ void KateCTagsConfigPage::updateGlobalDB()
     }
 
     QString command = QStringLiteral("%1 -f %2 %3").arg(m_confUi.cmdEdit->text(), file, targets);
-    m_proc.start(command);
+    m_proc.start(command, QStringList());
 
     if (!m_proc.waitForStarted(500)) {
         KMessageBox::error(nullptr, i18n("Failed to run \"%1\". exitStatus = %2", command, m_proc.exitStatus()));
diff --git a/addons/kate-ctags/kate_ctags_view.cpp b/addons/kate-ctags/kate_ctags_view.cpp
index 1812868af..8c343d1c9 100644
--- a/addons/kate-ctags/kate_ctags_view.cpp
+++ b/addons/kate-ctags/kate_ctags_view.cpp
@@ -516,7 +516,7 @@ void KateCTagsView::updateSessionDB()
 
     QString command = QStringLiteral("%1 -f %2 %3").arg(m_ctagsUi.cmdEdit->text(), m_ctagsUi.tagsFile->text(), targets);
 
-    m_proc.start(command);
+    m_proc.start(command, QStringList());
 
     if (!m_proc.waitForStarted(500)) {
         KMessageBox::error(nullptr, i18n("Failed to run \"%1\". exitStatus = %2", command, m_proc.exitStatus()));


Is wrong, please revert or fix.

Laurent you remember any other repository you applied similar changes that we need to revert?

Cheers,
  Albert




More information about the KWrite-Devel mailing list