- v0.04-2

This commit is contained in:
Santi Noreña 2013-04-23 19:46:23 +02:00
parent 5b33ad8b21
commit 4f85ff2f5a
2 changed files with 7 additions and 7 deletions

View file

@ -507,14 +507,14 @@ void libreMediaServer::initMSEX()
// Generates the thumbs to transmit by CITP/MSEx // Generates the thumbs to transmit by CITP/MSEx
void libreMediaServer::makeThumbs() void libreMediaServer::makeThumbs()
{ {
QProcess *script = new QProcess (); QString s = "Creating thumbs in ";
s.append(m_pathmedia);
s.append(" This operation can take some time...");
ui.textEdit->appendPlainText(s);
QProcess *script;
QStringList arguments; QStringList arguments;
arguments << m_pathmedia; arguments << m_pathmedia;
qDebug() << "Creating thumbs in " << arguments; qDebug() << s.toAscii();
QString s = "Creating thumbs in ";
s.append(arguments.at(0));
s.append("This operation can take some time...");
ui.textEdit->appendPlainText(s);
script->execute("./scripts/make_thumbs.sh", arguments); script->execute("./scripts/make_thumbs.sh", arguments);
} }

View file

@ -39,7 +39,7 @@
#include "MSEXDefines.h" #include "MSEXDefines.h"
#include "ui_libremediaserver.h" #include "ui_libremediaserver.h"
#define VERSION "LibreMediaServer Version 0.04-1" #define VERSION "LibreMediaServer Version 0.04-2"
#define COPYRIGHT "(C) 2012-2013 Santi Norena libremediaserver@gmail.com" #define COPYRIGHT "(C) 2012-2013 Santi Norena libremediaserver@gmail.com"
#define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details" #define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details"