diff --git a/GPClient/gpclient.cpp b/GPClient/gpclient.cpp index a2741cb..8e56643 100644 --- a/GPClient/gpclient.cpp +++ b/GPClient/gpclient.cpp @@ -32,8 +32,8 @@ GPClient::GPClient(QWidget *parent, IVpn *vpn) QObject *ov = dynamic_cast(vpn); connect(ov, SIGNAL(connected()), this, SLOT(onVPNConnected())); connect(ov, SIGNAL(disconnected()), this, SLOT(onVPNDisconnected())); - connect(ov, SIGNAL(error(const &QString)), this, SLOT(onVPNError(const QString&))); - connect(ov, SIGNAL(logAvailable(const &QString)), this, SLOT(onVPNLogAvailable(const QString&))); + connect(ov, SIGNAL(error(QString)), this, SLOT(onVPNError(QString))); + connect(ov, SIGNAL(logAvailable(QString)), this, SLOT(onVPNLogAvailable(QString))); // Initiallize the context menu of system tray. initSystemTrayIcon(); diff --git a/GPClient/vpn_dbus.h b/GPClient/vpn_dbus.h index a66c86a..28b24eb 100644 --- a/GPClient/vpn_dbus.h +++ b/GPClient/vpn_dbus.h @@ -27,7 +27,7 @@ public: signals: // SIGNALS void connected(); void disconnected(); - void error(const QString &errorMessage); - void logAvailable(const QString &log); + void error(QString errorMessage); + void logAvailable(QString log); }; #endif