#endif
#ifndef QT_NO_IMAGEFORMAT_XPM
-extern bool qt_read_xpm_image_or_array(const char * const *source, QImage &image);
+extern bool qt_read_xpm_array(const char * const *source, QImage &image);
/*!
Constructs an image from the given \a xpm image.
{
if (Q_UNLIKELY(!xpm))
return;
- if (Q_UNLIKELY(!qt_read_xpm_image_or_array(xpm, *this)))
+ if (Q_UNLIKELY(!qt_read_xpm_array(xpm, *this)))
// Issue: Warning because the constructor may be ambigious
qWarning("QImage::QImage(), XPM is not supported");
}
//
// INTERNAL
//
-// Reads an .xpm from either the QImageIO or from the QString *.
-// One of the two HAS to be 0, the other one is used.
+// Reads an .xpm from characters array
//
-bool qt_read_xpm_image_or_array(const char * const * source, QImage &image)
+bool qt_read_xpm_array(const char * const * source, QImage &image)
{
if (!source)
return true;