summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJochen Seemann <seemann.jochen@gmail.com>2015-01-24 13:36:05 +0100
committerJochen Seemann <seemann.jochen@gmail.com>2015-02-07 13:26:37 +0000
commit5380281fe149b5a1125a586e8455a844806ef997 (patch)
treeb235954c646077a0db1ebcce3993d000f2e5f313 /src/corelib
parent06524c11dcaeea2f8c8d19fc8999df673696eb5b (diff)
WinRT: fix QLibrary::isLibrary() due to incomplete #if statement
Q_OS_WINRT was missing in the Windows-condition. Condition was simplified through use of Q_OS_WIN. Change-Id: I1a49d2d9c413dc2156930b6915e1675abcdde36f Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/plugin/qlibrary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp
index c9ce5c342e..489cede959 100644
--- a/src/corelib/plugin/qlibrary.cpp
+++ b/src/corelib/plugin/qlibrary.cpp
@@ -606,7 +606,7 @@ bool QLibraryPrivate::loadPlugin()
*/
bool QLibrary::isLibrary(const QString &fileName)
{
-#if defined(Q_OS_WIN32) || defined(Q_OS_WINCE)
+#if defined(Q_OS_WIN)
return fileName.endsWith(QLatin1String(".dll"), Qt::CaseInsensitive);
#else
QString completeSuffix = QFileInfo(fileName).completeSuffix();