Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
qt3-extensions
0038-dragobject-dont-prefer-unknown.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0038-dragobject-dont-prefer-unknown.patch of Package qt3-extensions
--- src/kernel/qdragobject.cpp +++ src/kernel/qdragobject.cpp @@ -893,6 +893,16 @@ { if(!e) return FALSE; + + // when subtype is not specified, try text/plain first, otherwise this may read + // things like text/x-moz-url even though better targets are available + if( subtype.isNull()) { + QCString subtmp = "plain"; + if( decode( e, str, subtmp )) { + subtype = subtmp; + return true; + } + } if ( e->cacheType == QMimeSource::Text ) { str = *e->cache.txt.str;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor