From 5380281fe149b5a1125a586e8455a844806ef997 Mon Sep 17 00:00:00 2001 From: Jochen Seemann Date: Sat, 24 Jan 2015 13:36:05 +0100 Subject: 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 Reviewed-by: Friedemann Kleint --- src/corelib/plugin/qlibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/plugin') 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(); -- cgit v1.2.3