Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 9e4db88f authored by Jan Grulich's avatar Jan Grulich

Fix ampersand and other characters in tooltip

parent 0491738c
......@@ -203,11 +203,10 @@ void NetworkStatus::changeActiveConnections()
NetworkManager::Connection::Ptr connection = active->connection();
const QString connectionName = connection->name().replace('&', "&amp;").replace('<', "&lt;").replace('>', "&gt;");
if (connecting) {
status = i18n("Connecting to %1", connectionName);
status = i18n("Connecting to %1", connection->name());
} else if (connected) {
status = i18n("Connected to %1", connectionName);
status = i18n("Connected to %1", connection->name());
if (!activeConnections.isEmpty()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment