fix #316, Exporting settings - Adding a dot in the filename

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
parent 76a2065d91
commit 90b7d00d6e

@ -340,10 +340,8 @@ void GlobalSettings::exportConfiguration()
notification->setText(i18nc("import/export config", "Configuration exported successfully"));
connect(notification, &KNotification::action1Activated
, this, [&file]() {
QDir path(file);
path.cdUp();
QDesktopServices::openUrl({path.absolutePath()});
, this, [file]() {
QDesktopServices::openUrl({QFileInfo(file).canonicalPath()});
});
notification->sendEvent();

Loading…
Cancel
Save