Actually create the EncodeThread instance.
This commit is contained in:
parent
a99b922856
commit
16837e49cb
@ -1359,26 +1359,13 @@ bool MainWindow::createJobMultiple(const QStringList &filePathIn)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Append a new job
|
* Append a new job
|
||||||
*/
|
*/
|
||||||
bool MainWindow::appendJob(const QString &sourceFileName, const QString &outputFileName, OptionsModel *options, const bool runImmediately)
|
bool MainWindow::appendJob(const QString &sourceFileName, const QString &outputFileName, OptionsModel *options, const bool runImmediately)
|
||||||
{
|
{
|
||||||
bool okay = false;
|
bool okay = false;
|
||||||
|
EncodeThread *thrd = new EncodeThread(sourceFileName, outputFileName, options, m_sysinfo, m_preferences);
|
||||||
EncodeThread *thrd = NULL/*new EncodeThread
|
|
||||||
(
|
|
||||||
sourceFileName,
|
|
||||||
outputFileName,
|
|
||||||
options,
|
|
||||||
m_sysinfo,
|
|
||||||
m_preferences->useAvisyth64Bit(),
|
|
||||||
m_skipVersionTest,
|
|
||||||
m_preferences->processPriority(),
|
|
||||||
m_abortOnTimeout
|
|
||||||
)*/;
|
|
||||||
|
|
||||||
QModelIndex newIndex = m_jobList->insertJob(thrd);
|
QModelIndex newIndex = m_jobList->insertJob(thrd);
|
||||||
|
|
||||||
if(newIndex.isValid())
|
if(newIndex.isValid())
|
||||||
|
Loading…
Reference in New Issue
Block a user