summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-12 15:23:29 +0200
committerArno <am@disconnect.de>2010-05-12 15:23:29 +0200
commit22cddc9dfb6bb8effe77e2c9b4dc4d654f1c1fc6 (patch)
tree68db4b7aa66c6f7781404be22eed4d81f84d7470 /shemov.cpp
parentd2d6656531e5ec5c088a30ecb93318956e8fb096 (diff)
downloadSheMov-22cddc9dfb6bb8effe77e2c9b4dc4d654f1c1fc6.tar.gz
SheMov-22cddc9dfb6bb8effe77e2c9b4dc4d654f1c1fc6.tar.bz2
SheMov-22cddc9dfb6bb8effe77e2c9b4dc4d654f1c1fc6.zip
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.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
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(){