Added Launcher::openFile() command for Linux.

This commit is contained in:
David Capello 2010-07-07 15:10:31 -03:00
parent a6b164d88b
commit d3fd921f1a

View File

@ -41,7 +41,7 @@ void Launcher::openFile(const std::string& file)
#else // Linux
system(("todo " + file).c_str());
system(("xdg-open \"" + file + "\"").c_str());
#endif
}