summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/tga/qtgafile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/imageformats/tga/qtgafile.cpp')
-rw-r--r--src/plugins/imageformats/tga/qtgafile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/imageformats/tga/qtgafile.cpp b/src/plugins/imageformats/tga/qtgafile.cpp
index 52e5eab..14a7a74 100644
--- a/src/plugins/imageformats/tga/qtgafile.cpp
+++ b/src/plugins/imageformats/tga/qtgafile.cpp
@@ -52,7 +52,7 @@ struct TgaReader
struct Tga16Reader : public TgaReader
{
~Tga16Reader() {}
- QRgb operator()(QIODevice *s) const
+ QRgb operator()(QIODevice *s) const override
{
char ch1, ch2;
if (s->getChar(&ch1) && s->getChar(&ch2)) {
@@ -68,7 +68,7 @@ struct Tga16Reader : public TgaReader
struct Tga24Reader : public TgaReader
{
- QRgb operator()(QIODevice *s) const
+ QRgb operator()(QIODevice *s) const override
{
char r, g, b;
if (s->getChar(&b) && s->getChar(&g) && s->getChar(&r))
@@ -80,7 +80,7 @@ struct Tga24Reader : public TgaReader
struct Tga32Reader : public TgaReader
{
- QRgb operator()(QIODevice *s) const
+ QRgb operator()(QIODevice *s) const override
{
char r, g, b, a;
if (s->getChar(&b) && s->getChar(&g) && s->getChar(&r) && s->getChar(&a))