1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

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

This commit is contained in:
audoban 2017-03-23 18:47:23 -05:00
parent 6beaa6e6ee
commit 443502d3e0

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