OSDN Git Service

remove unused QTgaFile::errorMessage()
authorIvailo Monev <xakepa10@gmail.com>
Tue, 2 Feb 2021 21:30:20 +0000 (23:30 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 2 Feb 2021 21:30:20 +0000 (23:30 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/plugins/imageformats/tga/qtgafile.h

index fc3d160..3fe4843 100644 (file)
@@ -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.