On Thursday 30 March 2006 14:13, Hasso Tepper wrote:
> Stephan Kulow wrote:
> > Am Donnerstag, 30. M=E4rz 2006 11:06 schrieb Hasso Tepper:
> > > knetworkmanager-devicestore.cpp:101: error: no matching function for
> > > call to 'DeviceStoreDBus::updateNetwork(const QString&, const
> > > QString&, const char [1])'
> > > knetworkmanager-devicestore_dbus.h:52: note: candidates are: static
> > > void DeviceStoreDBus::updateNetwork(const char*, const char*, const
> > > char*, const char*)
> > > make[1]: *** [knetworkmanager-devicestore.lo] Error 1

> >
> > That's most likely due to the NO_CAST defines in our SVN modules. Easy
> > fix though.

> =


> Might be lack of coffee, but doesn't say me too much. More obvious =


> pointers, please?


Where a char* is passed to a QString, use either
QString::fromLatin1(str)
QString::fromUtf8(str)
or
QString::fromLocal8Bit(str)
depending on the locale of the char* str.

-- =

David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

=

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=

e <<