From fd6b6baed4ee1248ea82b15cf5f204025bcb7fac Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Tue, 13 Jan 2015 16:42:24 +0530 Subject: Correctly handle '--invert' parameter in server-buffer compositor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9a3285dc5bddd848ec557287c4641d9edce752a9 Reviewed-by: Jørgen Lind --- examples/wayland/server-buffer/compositor/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/wayland') 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"); } -- cgit v1.2.3