Commit 87b4c574 authored by David Edmundson's avatar David Edmundson
Browse files

[soliduiserver] Port deprecated KPasswordDialog::setPixmap method

Test Plan: None

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 4c244e60
......@@ -72,7 +72,7 @@ void SolidUiServer::showPassphraseDialog(const QString &udi,
label+= device.product();
dialog->setPrompt(i18n("'%1' needs a password to be accessed. Please enter a password.", label));
dialog->setPixmap(QIcon::fromTheme(device.icon()).pixmap(64, 64));
dialog->setProperty("soliduiserver.udi", udi);
dialog->setProperty("soliduiserver.returnService", returnService);
dialog->setProperty("soliduiserver.returnObject", returnObject);
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