Added window title and made contrast-lowering effect a bit more subtle.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 17 Mar 2011 16:32:06 +0000 (17:32 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Thu, 17 Mar 2011 16:32:25 +0000 (17:32 +0100)
examples/qml-compositor/main.cpp
examples/qml-compositor/qml/QmlCompositor/WindowContainer.qml

index 0e6f73e..7a1715e 100644 (file)
@@ -316,6 +316,7 @@ int main(int argc, char *argv[])
     QApplication app(argc, argv);
 
     QmlCompositor compositor;
+    compositor.setWindowTitle(QLatin1String("QML Compositor"));
     compositor.show();
 
     compositor.rootContext()->setContextProperty("compositor", &compositor);
index 95764bc..050be0f 100644 (file)
@@ -75,7 +75,7 @@ Item {
         id: effect
         source: child
         anchors.fill: child
-        blend: { if (child && child.focus) 0.0; else 1.0 }
+        blend: { if (child && child.focus) 0.0; else 0.6 }
         opacity: 0.8
         z: 1