diff options
Diffstat (limited to 'src/plugins/imageviewer/imageview.cpp')
-rw-r--r-- | src/plugins/imageviewer/imageview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/imageviewer/imageview.cpp b/src/plugins/imageviewer/imageview.cpp index dfa4a547fe5..881dde6b9fe 100644 --- a/src/plugins/imageviewer/imageview.cpp +++ b/src/plugins/imageviewer/imageview.cpp @@ -188,11 +188,13 @@ bool ImageView::exportSvg(const ExportData &ed) return result; } +#ifndef QT_NO_SVG static QString suggestedExportFileName(const QFileInfo &fi) { return fi.absolutePath() + QLatin1Char('/') + fi.baseName() + QStringLiteral(".png"); } +#endif QSize ImageView::svgSize() const { |