summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/pluginmanager-fix.diff
blob: d24c38aa14b6f666b81dcf923918b4eea129a211 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/tools/qgpluginmanager.cpp
+++ src/tools/qgpluginmanager.cpp
@@ -389,6 +389,8 @@
 		sameBasename << (*git).mid( (*git).find( QChar(0xfffd) ) + 1 );
 		++git;
 	    }
+	    if( !sameBasename.isEmpty())
+		sameBasename.prepend( lib );
 
 	    if ( sameBasename.isEmpty() ) {
 		that->addLibrary( new QComLibrary( lib ) );