From 22cddc9dfb6bb8effe77e2c9b4dc4d654f1c1fc6 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 12 May 2010 15:23:29 +0200 Subject: Implemented "Open with" The contextmenu of Fileview got an "Open with" submenu containing all configured programs. Opening files does not depend on MIME-types. That means a movie can be opened with a pictureviewer and vice versa. --- shemov.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index 4a6c94e..f7439e1 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -363,6 +363,7 @@ void SheMov::createActions(){ // misc mOpenWithGroup = new QActionGroup(this); mOpenWithMapper = new QSignalMapper(this); + connect(mOpenWithMapper, SIGNAL(mapped(QString)), mFSWidget, SLOT(playSelected(QString))); } void SheMov::createMenus(){ -- cgit v1.2.3-70-g09d2