OSDN Git Service

kdeplasma-addons: use URL save ID appropriate for the POTD wallpaper plugin
authorIvailo Monev <xakepa10@gmail.com>
Thu, 1 Jun 2023 02:30:37 +0000 (05:30 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Thu, 1 Jun 2023 02:31:08 +0000 (05:31 +0300)
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>
kdeplasma-addons/wallpapers/potd/potd.cpp

index 703f321..5abd0b0 100644 (file)
@@ -126,7 +126,7 @@ void PoTD::getSaveFileLocation()
     }
 
     KFileDialog *fd = new KFileDialog(
-        KUrl("kfiledialog:///frameplasmoid"),
+        KUrl("kfiledialog:///potdwallpaper"),
         KImageIO::pattern(KImageIO::Writing),
         0
     );