summaryrefslogtreecommitdiff
authortille <tille>2003-06-17 11:26:43 (UTC)
committer tille <tille>2003-06-17 11:26:43 (UTC)
commit930291d6f7ed63862c9500faf4cddc89e6ee634f (patch) (side-by-side diff)
tree0d7783ada63c9eab6bd14177f9a572cea8287af8
parent1cde4e1ee517c669446125b8fa4af78d6f016657 (diff)
downloadopie-930291d6f7ed63862c9500faf4cddc89e6ee634f.zip
opie-930291d6f7ed63862c9500faf4cddc89e6ee634f.tar.gz
opie-930291d6f7ed63862c9500faf4cddc89e6ee634f.tar.bz2
dcop needs QString not const char*
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index 79734a2..79773b3 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -492,31 +492,31 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa
}
void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr)
{
if ( !iface )
{
QMessageBox::warning( this, tr( "Can't do that!" ), tr( "No wireless\ninterface available." ) );
return;
}
if ( sniffing )
{
QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Stop sniffing before\njoining a net." ) );
return;
}
qDebug( "joinNetwork() with Interface %s: %s, %s, %d, %s",
(const char*) iface->name(),
(const char*) type,
(const char*) essid,
channel,
(const char*) macaddr );
QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" );
- msg << iface->name() << QString("Mode") << type;
- msg << iface->name() << QString("ESSID") << essid;
- msg << iface->name() << QString("Channel") << channel;
- msg << iface->name() << QString("MacAddr") << macaddr;
+ msg << QString(iface->name()) << QString("Mode") << type;
+ msg << QString(iface->name()) << QString("ESSID") << essid;
+ msg << QString(iface->name()) << QString("Channel") << channel;
+ msg << QString(iface->name()) << QString("MacAddr") << macaddr;
}