summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiteshwar Vashisht <siteshwar@gmail.com>2015-01-13 16:42:24 +0530
committerSiteshwar Vashisht <siteshwar@gmail.com>2015-01-13 18:50:55 +0100
commitfd6b6baed4ee1248ea82b15cf5f204025bcb7fac (patch)
tree77dff82e0b371c9ac661e238facf548f09227de3
parent90d0e4c7e1929b9fabfdd41ce76e001b045d4327 (diff)
Correctly handle '--invert' parameter in server-buffer compositor
Change-Id: I9a3285dc5bddd848ec557287c4641d9edce752a9 Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
-rw-r--r--examples/wayland/server-buffer/compositor/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/server-buffer/compositor/main.cpp b/examples/wayland/server-buffer/compositor/main.cpp
index 9f86539fd..9f0108fa1 100644
--- a/examples/wayland/server-buffer/compositor/main.cpp
+++ b/examples/wayland/server-buffer/compositor/main.cpp
@@ -243,8 +243,8 @@ int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
- if (!app.arguments().contains(QStringLiteral("--invert"))) {
- qDebug() << "iverting";
+ if (app.arguments().contains(QStringLiteral("--invert"))) {
+ qDebug() << "inverting";
qputenv("QT_COMPOSITOR_NEGATE_INVERTED_Y", "1");
}