[packagechooser] Enable logging in tests

This commit is contained in:
Adriaan de Groot 2019-08-06 14:41:40 +02:00
parent beb5896fa2
commit 6821b14d00
2 changed files with 7 additions and 0 deletions

View file

@ -128,6 +128,8 @@ PackageItem
PackageItem::fromAppData( const QString& fileName )
{
#ifdef HAVE_XML
cDebug() << "Loading AppData XML from" << fileName;
QDomDocument doc = loadAppData( fileName );
if ( doc.isNull() )
{
@ -143,6 +145,8 @@ PackageItem::fromAppData( const QString& fileName )
return PackageItem();
#else
cWarning() << "Loading AppData XML is not supported.";
return PackageItem();
#endif
}