More meaningful debug output.

main
Teo Mrnjavac 10 years ago
parent a51251fdc6
commit f2f73b2e87

@ -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";
}

@ -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() );

Loading…
Cancel
Save