More meaningful debug output.

This commit is contained in:
Teo Mrnjavac 2014-10-30 17:30:13 +01:00
parent a51251fdc6
commit f2f73b2e87
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,8 @@ ModuleManager::doLoad( const QString& moduleName )
{
Module* thisModule = m_availableModules.value( moduleName );
thisModule->loadSelf();
cDebug() << ( thisModule->isLoaded() ? "SUCCESS" : "FAILURE" );
if ( !thisModule->isLoaded() )
cDebug() << "Module" << moduleName << "loading FAILED";
}

View File

@ -47,7 +47,6 @@ ViewModule::interface() const
void
ViewModule::loadSelf()
{
cDebug() << Q_FUNC_INFO << "for module" << name();
if ( m_loader )
{
m_viewStep = qobject_cast< ViewStep* >( m_loader->instance() );