Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/qtlua.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Bottou <leon@bottou.org>2015-11-04 02:54:05 +0300
committerLeon Bottou <leon@bottou.org>2015-11-04 02:54:05 +0300
commit6bffd31d8cf5dd5600e0b3040bf947d619d0bd18 (patch)
tree670546147ea4d5e335b0e30439d3a12abd089afa
parentb409256e4df99e44d3f4b63746efa7a9ea8a2c86 (diff)
QUrl::isLocalFile appears in qt4.8 (not 4.7)
-rw-r--r--packages/qtcore/qtcore.cpp2
1 files changed, 1 insertions, 1 deletions
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<QUrl>(L, 1);
-#if QT_VERSION >= 0x040700
+#if QT_VERSION >= 0x040800
if (!url.isLocalFile())
lua_pushnil(L);
else