Commit 950258e0 authored by Michael Pyne's avatar Michael Pyne
Browse files

Fix bug 176956 in trunk (JuK crashes on internet tag guessing). Mind you I'm not sure the feature

itself works but it shouldn't crash anymore.

CCBUG:176956

svn path=/trunk/KDE/kdemultimedia/juk/; revision=904768
parent 09dce2c0
......@@ -17,13 +17,13 @@
#ifdef HAVE_TUNEPIMP // Silence warning when HAVE_TUNEPIMP is not defined.
#if HAVE_TUNEPIMP
#include "juk.h"
#include "trackpickerdialog.h"
#include "tag.h"
#include "collectionlist.h"
#include "tagtransactionmanager.h"
#include <kxmlguiwindow.h>
#include <kapplication.h>
#include <kstatusbar.h>
#include <klocale.h>
#include <kdebug.h>
......@@ -68,8 +68,8 @@ void MusicBrainzLookup::error()
void MusicBrainzLookup::message(const QString &s) const
{
KXmlGuiWindow *w = static_cast<KXmlGuiWindow *>(kapp->mainWidget());
w->statusBar()->message(QString("%1 (%2)").arg(s).arg(m_file.fileInfo().fileName()), 3000);
QString message = QString("%1 (%2)").arg(s).arg(m_file.fileInfo().fileName());
JuK::JuKInstance()->statusBar()->message(message, 3000);
}
void MusicBrainzLookup::confirmation()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment