More meaningful debug output.
This commit is contained in:
parent
a51251fdc6
commit
f2f73b2e87
@ -175,7 +175,8 @@ ModuleManager::doLoad( const QString& moduleName )
|
|||||||
{
|
{
|
||||||
Module* thisModule = m_availableModules.value( moduleName );
|
Module* thisModule = m_availableModules.value( moduleName );
|
||||||
thisModule->loadSelf();
|
thisModule->loadSelf();
|
||||||
cDebug() << ( thisModule->isLoaded() ? "SUCCESS" : "FAILURE" );
|
if ( !thisModule->isLoaded() )
|
||||||
|
cDebug() << "Module" << moduleName << "loading FAILED";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,6 @@ ViewModule::interface() const
|
|||||||
void
|
void
|
||||||
ViewModule::loadSelf()
|
ViewModule::loadSelf()
|
||||||
{
|
{
|
||||||
cDebug() << Q_FUNC_INFO << "for module" << name();
|
|
||||||
if ( m_loader )
|
if ( m_loader )
|
||||||
{
|
{
|
||||||
m_viewStep = qobject_cast< ViewStep* >( m_loader->instance() );
|
m_viewStep = qobject_cast< ViewStep* >( m_loader->instance() );
|
||||||
|
Loading…
Reference in New Issue
Block a user