[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/digikam/libs/database
From: Patrick Spendrin <ps_ml () gmx ! de>
Date: 2009-11-22 1:15:36
Message-ID: 1258852536.738920.28944.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1052537 by sengels:
add some warnings in case image informations cannot be retrieved from the database
path->toLocalFile workaround
M +4 -1 imageinfo.cpp
--- trunk/extragear/graphics/digikam/libs/database/imageinfo.cpp #1052536:1052537
@@ -131,9 +131,11 @@
if (location.isNull())
{
m_data = 0;
+ qWarning() << "No location could be retrieved for url" << url;
return;
}
- QString album = CollectionManager::instance()->album(url.directory());
+ KUrl _url(url.directory());
+ QString album = CollectionManager::instance()->album(_url.toLocalFile());
QString name = url.fileName();
/*
@@ -156,6 +158,7 @@
if (!info.id)
{
m_data = 0;
+ qWarning() << "No itemShortInfo could be retrieved from the database for image" << name;
return;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic