From 6bffd31d8cf5dd5600e0b3040bf947d619d0bd18 Mon Sep 17 00:00:00 2001 From: Leon Bottou Date: Tue, 3 Nov 2015 18:54:05 -0500 Subject: QUrl::isLocalFile appears in qt4.8 (not 4.7) --- packages/qtcore/qtcore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/qtcore/qtcore.cpp b/packages/qtcore/qtcore.cpp index 073d545..363aa67 100644 --- a/packages/qtcore/qtcore.cpp +++ b/packages/qtcore/qtcore.cpp @@ -547,7 +547,7 @@ static int qurl_tolocalfile(lua_State *L) { QUrl url = luaQ_checkqvariant(L, 1); -#if QT_VERSION >= 0x040700 +#if QT_VERSION >= 0x040800 if (!url.isLocalFile()) lua_pushnil(L); else -- cgit v1.2.3