diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-04-12 20:19:54 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-04-12 20:19:54 +0000 |
| commit | b48e843ac11ed8ffbb5d8155ad91160b42841d93 (patch) | |
| tree | 893b3ff2186444708d8be9a23cc966eca5179b55 /src/plugins/Engines/mplayer | |
| parent | 69001ee1847069b02111dfbc5d36532bcce3c77f (diff) | |
| download | qmmp-b48e843ac11ed8ffbb5d8155ad91160b42841d93.tar.gz qmmp-b48e843ac11ed8ffbb5d8155ad91160b42841d93.tar.bz2 qmmp-b48e843ac11ed8ffbb5d8155ad91160b42841d93.zip | |
fixed latest qt support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2160 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Engines/mplayer')
| -rw-r--r-- | src/plugins/Engines/mplayer/mplayerengine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/Engines/mplayer/mplayerengine.cpp b/src/plugins/Engines/mplayer/mplayerengine.cpp index a883d9e1b..2cf0a19fb 100644 --- a/src/plugins/Engines/mplayer/mplayerengine.cpp +++ b/src/plugins/Engines/mplayer/mplayerengine.cpp @@ -239,6 +239,9 @@ void MplayerEngine::readStdOut() void MplayerEngine::startMplayerProcess() { initialize(); + delete m_process; + m_process = new QProcess(this); + connect(m_process, SIGNAL(readyReadStandardOutput()), SLOT(readStdOut())); m_process->start ("mplayer", m_args); StateHandler::instance()->dispatch(Qmmp::Playing); FileInfo *info = MplayerInfo::createFileInfo(m_source->url()); |
