Commit bd53848b authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Avoid opening the backend website multiple times

BUG: 278011
FIXED-IN: 4.10.0
parent 3a4e9a6b
......@@ -197,7 +197,7 @@ void BackendSelection::selectionChanged()
m_comment->setText(service->comment());
const QString website = service->property("X-KDE-PhononBackendInfo-Website").toString();
m_website->setText(QString("<a href=\"%1\">%1</a>").arg(website));
connect(m_website, SIGNAL(linkActivated(const QString &)), SLOT(openWebsite(const QString &)));
connect(m_website, SIGNAL(linkActivated(const QString &)), SLOT(openWebsite(const QString &)), Qt::UniqueConnection);
m_version->setText(service->property("X-KDE-PhononBackendInfo-Version").toString());
showBackendKcm(service);
}
......
Supports Markdown
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