Skip to content

Commit

Permalink
Fix those pesky 'cannot find providerKey() or description()' messages
Browse files Browse the repository at this point in the history
when starting qgis


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4951 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 3, 2006
1 parent a331381 commit bf928f8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/core/qgsproviderregistry.cpp
Expand Up @@ -156,18 +156,17 @@ QgsProviderRegistry::QgsProviderRegistry(QString pluginPath)
QgsDebug( QString("No vector file filters for " + pKey()).ascii() );
}
}
else
{
QgsDebug( "Unable to invoke fileVectorFilters()" );
}
}
else
{
cout << myLib->library().data()
<< " Unable to find one of the required provider functions:\n\tproviderKey() or description()"
<< endl;
QgsDebug( "Unable to invoke fileVectorFilters()" );
}
}
else
{
cout << "Unable to find one of the required provider functions (providerKey() or description()) in "
<< myLib->library().toLocal8Bit().data() << endl;
}
}
else
{
Expand All @@ -176,9 +175,10 @@ QgsProviderRegistry::QgsProviderRegistry(QString pluginPath)
}
else
{
cout << myLib->library().data()
<< " Unable to find one of the required provider functions:\n\tproviderKey() or description()"
<< endl;
#ifdef QGISDEBUG
cout << myLib->library().toLocal8Bit().data()
<< " is not a provider" << std::endl;
#endif
}
}

Expand Down

0 comments on commit bf928f8

Please sign in to comment.