Skip to content

Commit b8bce65

Browse files
committed
Fix windows-based compilation postprocess (2).
1 parent 35a7207 commit b8bce65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pythonToEditor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ static QString toPythonQuotedPath(QString s)
122122
* \param key Variable name to replace (left-hand side of assignment).
123123
* \param pyValue New Python literal/expression to put on the right-hand side.
124124
**********************************************************************************************************************/
125-
static void replaceTopLevelVar(QString &script, const QString &key, const QString &pyValue)
125+
/*static void replaceTopLevelVar(QString &script, const QString &key, const QString &pyValue)
126126
{
127127
QRegularExpression reVar(
128128
QString(R"(^(\s*%1\s*=\s*)([^#\n]*?)(\s*#.*)?$)")
129129
.arg(QRegularExpression::escape(key)),
130130
QRegularExpression::MultilineOption);
131131
132132
script.replace(reVar, QStringLiteral("\\1%1\\3").arg(pyValue));
133-
}
133+
}*/
134134

135135
/*!*******************************************************************************************************************
136136
* \brief Replaces any dict-style Python assignment for a given key with a new value.

0 commit comments

Comments
 (0)