summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebKit/qt
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-10 10:13:02 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-10 15:12:06 (GMT)
commit70b5327e51481bf7b91d8fad50e3fc9ff3a1e888 (patch)
tree9a9e5ff07fe8be5907c6cbada6d09138c2d031ff /src/3rdparty/webkit/WebKit/qt
parent33e9b82813f5573be6e5a780524044a2170d8dd4 (diff)
downloadQt-70b5327e51481bf7b91d8fad50e3fc9ff3a1e888.zip
Qt-70b5327e51481bf7b91d8fad50e3fc9ff3a1e888.tar.gz
Qt-70b5327e51481bf7b91d8fad50e3fc9ff3a1e888.tar.bz2
QtWebKit compile fix for Windows CE
There's no getenv on Windows CE. Reviewed-By: Simon Hausmann
Diffstat (limited to 'src/3rdparty/webkit/WebKit/qt')
-rw-r--r--src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp b/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
index 1a45fe6..613a72f 100644
--- a/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
+++ b/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
@@ -105,7 +105,7 @@ void QWEBKIT_EXPORT qt_drt_overwritePluginDirectories()
PluginDatabase* db = PluginDatabase::installedPlugins(/* populate */ false);
Vector<String> paths;
- String qtPath(getenv("QTWEBKIT_PLUGIN_PATH"));
+ String qtPath(qgetenv("QTWEBKIT_PLUGIN_PATH").data());
qtPath.split(UChar(':'), /* allowEmptyEntries */ false, paths);
db->setPluginDirectories(paths);