Commit 32bbd6c8 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Remove setContents() from imageviewer



It doesn't actually do anything.

Change-Id: Ic89b778427c4dd663f7577f522688cde99da06f9
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent 5be49c51
......@@ -262,12 +262,6 @@ bool ImageViewerFile::save(QString *errorString, const QString &fileName, bool a
return false;
}
bool ImageViewerFile::setContents(const QByteArray &contents)
{
Q_UNUSED(contents);
return false;
}
QString ImageViewerFile::fallbackSaveAsPath() const
{
return QString();
......
......@@ -68,7 +68,6 @@ public:
OpenResult open(QString *errorString, const QString &fileName,
const QString &realFileName) override;
bool save(QString *errorString, const QString &fileName, bool autoSave) override;
bool setContents(const QByteArray &contents) override;
QString fallbackSaveAsPath() const override;
QString fallbackSaveAsFileName() const override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment