Commit 7e626a9f authored by con's avatar con
Browse files

Fix custom tool default values for Windows.

Task-number: QTCREATORBUG-3838
Reviewed-by: Robert Loehning
parent 94b672a3
......@@ -333,8 +333,13 @@ QModelIndex ExternalToolModel::addTool(const QModelIndex &atIndex)
tool->setDisplayName(tr("New tool"));
tool->setDescription(tr("This tool prints a line of useful text"));
#ifdef Q_OS_WIN
tool->setExecutables(QStringList() << "cmd");
tool->setArguments(tr("/c echo Useful text"));
tool->setExecutables(QStringList() << "echo");
tool->setArguments(tr("Useful text"));
int pos;
QModelIndex parent;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment