Changeset View
Changeset View
Standalone View
Standalone View
kded/ui/mountdialog.cpp
Show All 15 Lines | |||||
16 | * | 16 | * | ||
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 19 | */ | ||
20 | #include "mountdialog.h" | 20 | #include "mountdialog.h" | ||
21 | #include "engine/vault.h" | 21 | #include "engine/vault.h" | ||
22 | 22 | | |||
23 | #include <QCloseEvent> | 23 | #include <QCloseEvent> | ||
24 | 24 | #include <QStyleOption> | |||
25 | 25 | | |||
26 | MountDialog::MountDialog(PlasmaVault::Vault *vault, const std::function<void()> &function) | 26 | MountDialog::MountDialog(PlasmaVault::Vault *vault, const std::function<void()> &function) | ||
27 | : m_vault(vault), | 27 | : m_vault(vault), | ||
28 | m_function(function) | 28 | m_function(function) | ||
29 | { | 29 | { | ||
30 | m_ui.setupUi(this); | 30 | m_ui.setupUi(this); | ||
31 | m_ui.errorLabel->setVisible(false); | 31 | m_ui.errorLabel->setVisible(false); | ||
32 | m_ui.vaultName->setText(vault->name()); | 32 | m_ui.vaultName->setText(vault->name()); | ||
Show All 31 Lines |