WINDOWS: Check for python before creating the search engine tab. Prevents the creation of python specific files in the user's PC if no python is found. Closes #1370.

This commit is contained in:
sledgehammer999
2014-09-14 14:30:22 +03:00
parent 5528f60a15
commit 0799dc293c
5 changed files with 105 additions and 95 deletions

View File

@@ -105,9 +105,8 @@ signals:
void newSupportedEngine(QString name);
public:
SupportedEngines(bool has_python = true) {
if (has_python)
update();
SupportedEngines() {
update();
}
~SupportedEngines() {