From 16837e49cba55bfde174a14b87f630b0b0654fea Mon Sep 17 00:00:00 2001 From: lordmulder Date: Fri, 14 Feb 2014 23:33:26 +0100 Subject: [PATCH] Actually create the EncodeThread instance. --- src/win_main.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/win_main.cpp b/src/win_main.cpp index 249ee53..6056c40 100644 --- a/src/win_main.cpp +++ b/src/win_main.cpp @@ -1359,26 +1359,13 @@ bool MainWindow::createJobMultiple(const QStringList &filePathIn) return true; } - /* * Append a new job */ bool MainWindow::appendJob(const QString &sourceFileName, const QString &outputFileName, OptionsModel *options, const bool runImmediately) { bool okay = false; - - EncodeThread *thrd = NULL/*new EncodeThread - ( - sourceFileName, - outputFileName, - options, - m_sysinfo, - m_preferences->useAvisyth64Bit(), - m_skipVersionTest, - m_preferences->processPriority(), - m_abortOnTimeout - )*/; - + EncodeThread *thrd = new EncodeThread(sourceFileName, outputFileName, options, m_sysinfo, m_preferences); QModelIndex newIndex = m_jobList->insertJob(thrd); if(newIndex.isValid())