From 6c42240b02621660b5536f10f35249c5c2760277 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sat, 29 Jan 2011 15:32:55 +0000 Subject: [PATCH] Minor correction in tagfetcher. Thanks David --- src/core/tagfetcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tagfetcher.cpp b/src/core/tagfetcher.cpp index 0bfb713ac..111987138 100644 --- a/src/core/tagfetcher.cpp +++ b/src/core/tagfetcher.cpp @@ -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);