[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Wrong usage of KLibrary::library()
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2007-05-13 7:51:45
Message-ID: 4646C391.6020101 () gmx ! de
[Download RAW message or body]


Hi,

is it possible to add a new function

virtual KLibrary* library( const QString &libname, QLibrary::LoadHints 
loadHint = 0 );

The reason for this is the wrong usage of library(const char *libname, 
...) in some places:

ll->globalLibrary(libname.toLatin1())

which is wrong because KLibrary uses QFile::decodeName( libname ) 
internally.

Maybe the 'const char *' functions should become deprecated (don't know 
if this is possible in the current state of kde4)

Christian


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic