summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-12-06 11:45:12 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-12-06 11:45:12 +0200
commitde40ba9361ffcd68f8f178fb586322e0cbf408a1 (patch)
tree466803e75dd34a8f6b7136ac8b09ef10b6a08075
parentd122b4d648ec6b4ec511605ee61b2bbd635f0770 (diff)
qmlplayer: s/setenv/qputenv/, since setenv() apparently does not exist on windows
-rw-r--r--examples/qmlplayer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmlplayer/main.cpp b/examples/qmlplayer/main.cpp
index 91c2510..ca8f0c0 100644
--- a/examples/qmlplayer/main.cpp
+++ b/examples/qmlplayer/main.cpp
@@ -32,7 +32,7 @@ int main(int argc, char **argv)
{
#if defined(QTVIDEOSINK_PATH)
//this allows the example to run from the QtGStreamer build tree without installing QtGStreamer
- setenv("GST_PLUGIN_PATH", QTVIDEOSINK_PATH, 0);
+ qputenv("GST_PLUGIN_PATH", QTVIDEOSINK_PATH);
#endif
QApplication app(argc, argv);