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

List:       kde-devel
Subject:    Re: knetworkmanager -> kdereview
From:       David Faure <faure () kde ! org>
Date:       2006-03-30 12:20:11
Message-ID: 200603301420.11889.faure () kde ! org
[Download RAW message or body]

On Thursday 30 March 2006 14:13, Hasso Tepper wrote:
> Stephan Kulow wrote:
> > Am Donnerstag, 30. März 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 unsubscribe <<

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

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