From d3fd921f1a0bd1a3be0c62d9b1b7e862e5739805 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 7 Jul 2010 15:10:31 -0300 Subject: [PATCH] Added Launcher::openFile() command for Linux. --- src/launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launcher.cpp b/src/launcher.cpp index f9c745eb8..b7ccb049e 100644 --- a/src/launcher.cpp +++ b/src/launcher.cpp @@ -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 }