Skip to content

Commit

Permalink
fix unix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmnk Freemountainer authored and Dmnk Freemountainer committed Nov 24, 2016
1 parent 6c044bd commit 5f47e83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cpp/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ QString Environment::getBundledCommand(QString name) {
QString Environment::getSystemCommand(QString name) {
#if defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))
QString files[] = {"/bin/", "/usr/bin/", "/usr/local/bin/"};
this->printLine("files" + sizeof(files) + files);
for( unsigned int i = 0; i < 3; i = i + 1 )
{
this->printLine("get " + name);
Expand Down Expand Up @@ -89,7 +88,7 @@ QString Environment::getShellCommand(QString name) {
}

if (!proc.waitForFinished()) {
this->printLine("not finished);
this->printLine("not finished");
return nullptr;
}

Expand Down

0 comments on commit 5f47e83

Please sign in to comment.