1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 21:18:01 +03:00

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

This commit is contained in:
Johan Smith Agudelo Rodriguez 2017-03-23 18:47:23 -05:00
parent 76a2065d91
commit 90b7d00d6e

View File

@ -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();