qwindowsmime compilation fix

Change-Id: I6ca030ed1333f62da6270c1295a4f489f088334d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
bb10
Vyacheslav Koscheev 2015-09-29 01:07:06 +06:00
parent a4df9739a2
commit 0cd7b64a61
1 changed files with 5 additions and 1 deletions

View File

@ -1579,7 +1579,11 @@ QVector<FORMATETC> QWindowsMimeConverter::allFormatsForMime(const QMimeData *mim
void QWindowsMimeConverter::ensureInitialized() const
{
if (m_mimes.isEmpty()) {
m_mimes << new QWindowsMimeImage << new QLastResortMimes
m_mimes
#ifndef QT_NO_IMAGEFORMAT_BMP
<< new QWindowsMimeImage
#endif //QT_NO_IMAGEFORMAT_BMP
<< new QLastResortMimes
<< new QWindowsMimeText << new QWindowsMimeURI
<< new QWindowsMimeHtml << new QBuiltInMimes;
m_internalMimeCount = m_mimes.size();