History

Renamed local variable per coding standard.

NissimHadar committed 7 years ago

Commit d4fac771 parent c25e4931 file · +4 −4Browse files

Showing the changes to tools/nitpick/src/PythonInterface.cpp (1 of 1 file). Show all

Unified · Split

tools/nitpick/src/PythonInterface.cpp+4−4
@@ -16,13 +16,13 @@ · 15 unmodified lines
1616 PythonInterface::PythonInterface() {
1717 #ifdef Q_OS_WIN
1818 if (QProcessEnvironment::systemEnvironment().contains("PYTHON_PATH")) {
19− QString _pythonPath = QProcessEnvironment::systemEnvironment().value("PYTHON_PATH");
20− if (!QFile::exists(_pythonPath + "/" + _pythonExe)) {
21− QMessageBox::critical(0, _pythonExe, QString("Python executable not found in ") + _pythonPath);
19+ QString pythonPath = QProcessEnvironment::systemEnvironment().value("PYTHON_PATH");
20+ if (!QFile::exists(pythonPath + "/" + _pythonExe)) {
21+ QMessageBox::critical(0, _pythonExe, QString("Python executable not found in ") + pythonPath);
2222 exit(-1);
2323 }
2424
25− _pythonCommand = _pythonPath + "/" + _pythonExe;
25+ _pythonCommand = pythonPath + "/" + _pythonExe;
2626 } else {
2727 QMessageBox::critical(0, "PYTHON_PATH not defined",
2828 "Please set PYTHON_PATH to directory containing the Python executable");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t