Remove declaration of QRasterPlatformPixmap::fromFile()
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 31 Oct 2011 13:58:56 +0000 (14:58 +0100)
committerSergio Ahumada <sergio.ahumada@nokia.com>
Mon, 31 Oct 2011 19:22:30 +0000 (20:22 +0100)
commit0b924cdaeec3cc5a597b0eef2b62592b521dfde7
tree80728b7e518030be32163e635a93760672ad019c
parentfde3b2e93c1e5462660e84503a2370372de69bf3
Remove declaration of QRasterPlatformPixmap::fromFile()

This function is not implemented, and the declaration hides the virtual
QPlatformPixtmap::fromFile():

../../include/QtGui/5.0.0/QtGui/private/../../../../../src/gui/image/qpixmap_raster_p.h:70:10:
warning:
      'QRasterPlatformPixmap::fromFile' hides overloaded virtual function
      [-Woverloaded-virtual]
    void fromFile(const QString &filename, Qt::ImageConversionFlags flags);
         ^
../../include/QtGui/../../src/gui/image/qplatformpixmap_qpa.h:90:18:
note:
      hidden overloaded virtual function 'QPlatformPixmap::fromFile' declared
      here
    virtual bool fromFile(const QString &filename, const char *format,
                 ^

Change-Id: Iedbc4acd9f9218f8fe72a44a9eff6a35b5494d75
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/image/qpixmap_raster_p.h