Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
#include <KFileDialog>
#include <KIcon>
#include <KIconLoader>
+#include <KImageIO>
#include <KIO/Job>
#include <KIO/JobUiDelegate>
#include <KLocale>
void GVPart::saveAs()
{
KUrl srcUrl = url();
- KUrl dstUrl = KFileDialog::getSaveUrl(srcUrl.fileName(), QString(), widget());
+ KUrl dstUrl = KFileDialog::getSaveUrl(srcUrl.fileName(), KImageIO::pattern(KImageIO::Writing), widget());
if (!dstUrl.isValid()) {
return;
}