[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kio/kfile
From: Aurélien Gâteau <agateau () kde ! org>
Date: 2010-11-25 10:05:37
Message-ID: 20101125100537.37C94AC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1200527 by gateau:
Print reason for not loading kfileaudiopreview
M +4 -1 kfilemetapreview.cpp
--- trunk/KDE/kdelibs/kio/kfile/kfilemetapreview.cpp #1200526:1200527
@@ -10,6 +10,7 @@
#include <QtGui/QLayout>
+#include <kdebug.h>
#include <kio/previewjob.h>
#include <kpluginloader.h>
#include <kpluginfactory.h>
@@ -182,9 +183,11 @@
// static
KPreviewWidgetBase * KFileMetaPreview::createAudioPreview( QWidget *parent )
{
- KPluginFactory *factory = KPluginLoader( "kfileaudiopreview" ).factory();
+ KPluginLoader loader( "kfileaudiopreview" );
+ KPluginFactory *factory = loader.factory();
if ( !factory )
{
+ kWarning() << "Couldn't load kfileaudiopreview" << loader.errorString();
s_tryAudioPreview = false;
return 0L;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic