finalized implementation of createItem for ApplicationItemFactory
[simple-launcher] / utils.cc
index 5393af2..92e2389 100644 (file)
--- a/utils.cc
+++ b/utils.cc
@@ -39,7 +39,7 @@ void runApplication(const std::string& whatToRun) {
     {
       gchar *fullPath = g_find_program_in_path(app.c_str());
 
-      app = std::string(fullPath);
+      app.assign(fullPath);
 
       g_free(fullPath);
     }