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:
parent
6beaa6e6ee
commit
443502d3e0
@ -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…
x
Reference in New Issue
Block a user