From 2cf96a7677d568411e4670da1182e111a8089b6a Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 2 Feb 2021 23:30:20 +0200 Subject: [PATCH] remove unused QTgaFile::errorMessage() Signed-off-by: Ivailo Monev --- src/plugins/imageformats/tga/qtgafile.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugins/imageformats/tga/qtgafile.h b/src/plugins/imageformats/tga/qtgafile.h index fc3d16020..3fe4843db 100644 --- a/src/plugins/imageformats/tga/qtgafile.h +++ b/src/plugins/imageformats/tga/qtgafile.h @@ -76,7 +76,6 @@ public: ~QTgaFile(); inline bool isValid() const; - inline QString errorMessage() const; QImage readImage(); inline int xOffset() const; inline int yOffset() const; @@ -98,11 +97,6 @@ inline bool QTgaFile::isValid() const return mErrorMessage.isEmpty(); } -inline QString QTgaFile::errorMessage() const -{ - return mErrorMessage; -} - /*! \internal Returns the integer encoded in the two little endian bytes at \a d. -- 2.11.0