Minor correction in tagfetcher. Thanks David

This commit is contained in:
Arnaud Bienner 2011-01-29 15:32:55 +00:00
parent 03c2da63e0
commit 6c42240b02
1 changed files with 2 additions and 2 deletions

View File

@ -39,13 +39,13 @@ TagFetcher::TagFetcher(QObject *parent)
#ifdef Q_OS_DARWIN
QCoreApplication::applicationDirPath() + "/../PlugIns/tunepimp";
#else
NULL;
QString();
#endif
pimp_ = tp_NewWithArgs(
QCoreApplication::applicationName().toAscii().constData(),
CLEMENTINE_VERSION,
TP_THREAD_ALL,
plugin_path==NULL? NULL:plugin_path.toLocal8Bit().constData());
plugin_path.isNull()? NULL:plugin_path.toLocal8Bit().constData());
tp_SetDebug(pimp_, true);
tp_SetAutoSaveThreshold(pimp_, -1);