Correct regression introduced in r2705. Partially fixes issue 1390

This commit is contained in:
Arnaud Bienner 2011-01-29 15:18:14 +00:00
parent 618aec2c74
commit e9f19f2cdb
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;
#endif
pimp_ = tp_NewWithArgs(
QCoreApplication::applicationName().toAscii().constData(),
CLEMENTINE_VERSION,
TP_THREAD_ALL,
plugin_path.toLocal8Bit().constData());
plugin_path==NULL? NULL:plugin_path.toLocal8Bit().constData());
tp_SetDebug(pimp_, true);
tp_SetAutoSaveThreshold(pimp_, -1);