Linux Application::openURL return fixed (#16903)

This commit is contained in:
Dmitry 2016-11-28 09:41:36 +07:00 committed by minggo
parent ba321e3ecc
commit 964b65e44e
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ std::string Application::getVersion()
bool Application::openURL(const std::string &url)
{
std::string op = std::string("xdg-open ").append(url);
return system(op.c_str())!=-1;
return system(op.c_str()) == 0;
}
//////////////////////////////////////////////////////////////////////////