kdeplasma-addons: use URL save ID appropriate for the POTD wallpaper plugin

there is a frame applet and the dialogs for the POTD wallpaper and frame
applet should not share the same save URL (questionably).

perhaps there should be feature to save the URL based on mime type group,
for example save "text/plain" and "text/x-patch" as the same URL for all
applications by default unless a custom save location has been specified
programatically

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-01 05:30:37 +03:00
parent 03a2da9323
commit 7e38bbd79e

View file

@ -126,7 +126,7 @@ void PoTD::getSaveFileLocation()
}
KFileDialog *fd = new KFileDialog(
KUrl("kfiledialog:///frameplasmoid"),
KUrl("kfiledialog:///potdwallpaper"),
KImageIO::pattern(KImageIO::Writing),
0
);