- Fixed a bug in order of initialization and registering universes in

ola
This commit is contained in:
santi 2014-09-22 20:58:56 +02:00
parent 1b7664edaf
commit eecc123e98
7 changed files with 25 additions and 22 deletions

View file

@ -30,6 +30,9 @@ libreMediaServerAudio::libreMediaServerAudio(QStringList args, QWidget *parent)
Q_UNUSED(args);
ui.setupUi(this);
// Lee la configuración por defecto
Settings::getInstance()->readFile();
// Inicia la lectura de dmx a través de ola
ola = new olaThread();
Q_CHECK_PTR(ola);
@ -148,7 +151,7 @@ void libreMediaServerAudio::ChangeMediaPath()
fileNames = dialog.selectedFiles();
QString file = fileNames.at(0);
Settings::getInstance()->setPathMedia(file);
QString desc = tr("Media Path Changed to: %1").arg(m_pathmedia);
QString desc = tr("Media Path Changed to: %1").arg(file);
qDebug(desc.toLatin1().constData());
}