File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -156,18 +156,17 @@ QgsProviderRegistry::QgsProviderRegistry(QString pluginPath)
156
156
QgsDebug ( QString (" No vector file filters for " + pKey ()).ascii () );
157
157
}
158
158
}
159
- else
160
- {
161
- QgsDebug ( " Unable to invoke fileVectorFilters()" );
162
- }
163
159
}
164
160
else
165
161
{
166
- cout << myLib->library ().data ()
167
- << " Unable to find one of the required provider functions:\n\t providerKey() or description()"
168
- << endl;
162
+ QgsDebug ( " Unable to invoke fileVectorFilters()" );
169
163
}
170
164
}
165
+ else
166
+ {
167
+ cout << " Unable to find one of the required provider functions (providerKey() or description()) in "
168
+ << myLib->library ().toLocal8Bit ().data () << endl;
169
+ }
171
170
}
172
171
else
173
172
{
@@ -176,9 +175,10 @@ QgsProviderRegistry::QgsProviderRegistry(QString pluginPath)
176
175
}
177
176
else
178
177
{
179
- cout << myLib->library ().data ()
180
- << " Unable to find one of the required provider functions:\n\t providerKey() or description()"
181
- << endl;
178
+ #ifdef QGISDEBUG
179
+ cout << myLib->library ().toLocal8Bit ().data ()
180
+ << " is not a provider" << std::endl;
181
+ #endif
182
182
}
183
183
}
184
184
You can’t perform that action at this time.
0 commit comments