Commit c031d456 authored by Christian Kandeler's avatar Christian Kandeler

RemoteLinux: Fix key deployment dialog.

When aborting the file dialog, the deployment dialog would not close
on its own.

Change-Id: I614f199b9fd486593e12b18f7f536561e7edae1d
Reviewed-on: default avatarChristian Kandeler <>
parent a6598321
......@@ -33,6 +33,7 @@
#include "linuxdeviceconfiguration.h"
#include "maemokeydeployer.h"
#include <QtCore/QTimer>
#include <QtGui/QFileDialog>
namespace RemoteLinux {
......@@ -66,7 +67,7 @@ PublicKeyDeploymentDialog::PublicKeyDeploymentDialog(const LinuxDeviceConfigurat
tr("Choose Public Key File"), dir,
tr("Public Key Files (*.pub);;All Files (*)"));
if (publicKeyFileName.isEmpty()) {
QTimer::singleShot(0, this, SLOT(reject()));
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