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:
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…
Reference in New Issue
Block a user