summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/comapp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-04 10:58:57 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-04 11:16:34 +0200
commit53ca8a7a66d4ff811516774c010237d195cec1cb (patch)
tree7142b66314f8cb9d2a0900e3e6b6077851630d8d /examples/activeqt/comapp
parenteb0849338fc951c7efe758de5b50276b83219ac4 (diff)
Fix compilation after refactor merge.
Comment out Some functionality for the moment. Change-Id: Ia7d1d3ba982e97776ae7259be06689b5477450a1 Reviewed-on: http://codereview.qt-project.org/5972 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/activeqt/comapp')
-rw-r--r--examples/activeqt/comapp/comapp.pro2
-rw-r--r--examples/activeqt/comapp/main.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/activeqt/comapp/comapp.pro b/examples/activeqt/comapp/comapp.pro
index 84ce072..c7feb02 100644
--- a/examples/activeqt/comapp/comapp.pro
+++ b/examples/activeqt/comapp/comapp.pro
@@ -1,6 +1,8 @@
TEMPLATE = app
CONFIG += qaxserver
+QT += widgets
+
# Input
SOURCES += main.cpp
diff --git a/examples/activeqt/comapp/main.cpp b/examples/activeqt/comapp/main.cpp
index 66af248..0f5fe43 100644
--- a/examples/activeqt/comapp/main.cpp
+++ b/examples/activeqt/comapp/main.cpp
@@ -217,7 +217,7 @@ DocumentList *Application::documents() const
void Application::setVisible(bool on)
{
- ui->setShown(on);
+ ui->setVisible(on);
}
bool Application::isVisible() const