made CLI rendering smoother
Suppressed a message box that would pop up in command line interface causing a crash and made lmms act properly when a rendering plugin fails. Need to figure out how to terminate program in project_renderer line 222.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "audio_file_device.h"
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
class QTimer;
|
||||
|
||||
class projectRenderer : public QThread
|
||||
{
|
||||
@@ -83,6 +84,10 @@ public:
|
||||
static ExportFileFormats getFileFormatFromExtension(
|
||||
const QString & _ext );
|
||||
|
||||
void setConsoleUpdateTimer(QTimer * t)
|
||||
{
|
||||
m_consoleUpdateTimer = t;
|
||||
}
|
||||
|
||||
public slots:
|
||||
void startProcessing( void );
|
||||
@@ -105,6 +110,8 @@ private:
|
||||
volatile int m_progress;
|
||||
volatile bool m_abort;
|
||||
|
||||
QTimer * m_consoleUpdateTimer;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user