Commit 6944aab1 authored by Konstantinos Smanis's avatar Konstantinos Smanis Committed by Nate Graham

Include the Plasma Vault name in the mount dialog title

Summary: Allows synergy with password managers that rely on the window title in order to supply the appropriate password.

Test Plan: Compiles and runs as expected both on master and Plasma/5.18 branches.

Reviewers: #plasma, davidedmundson, ivan, #vdg, ngraham

Reviewed By: #plasma, davidedmundson, #vdg, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision:
parent d17f0e71
...@@ -31,6 +31,7 @@ MountDialog::MountDialog(PlasmaVault::Vault *vault) ...@@ -31,6 +31,7 @@ MountDialog::MountDialog(PlasmaVault::Vault *vault)
: m_vault(vault) : m_vault(vault)
{ {
m_ui.setupUi(this); m_ui.setupUi(this);
setWindowTitle(i18nc("%1 is the name of the Plasma Vault to open", "Open '%1' Plasma Vault", vault->name()));
m_errorLabel = new KMessageWidget(this); m_errorLabel = new KMessageWidget(this);
m_errorLabel->setMessageType(KMessageWidget::Error); m_errorLabel->setMessageType(KMessageWidget::Error);
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
<height>198</height> <height>198</height>
</rect> </rect>
</property> </property>
<property name="windowTitle">
<string>Plasma Vault</string>
<property name="windowIcon"> <property name="windowIcon">
<iconset theme="plasmavault"> <iconset theme="plasmavault">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
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