summaryrefslogtreecommitdiffstats
path: root/examples/webkit
diff options
context:
space:
mode:
authorMorten Sørvig <msorvig@trolltech.com>2009-06-18 09:07:55 (GMT)
committerMorten Sørvig <msorvig@trolltech.com>2009-06-18 09:07:55 (GMT)
commit578dd524b62b0f76fdd205e30102b374c48f21e1 (patch)
treea3378b775e933c42a2d60317b4f349205ff5d780 /examples/webkit
parent7e8008cdd707d4ea3504df4ad02a4589c7b16510 (diff)
downloadQt-578dd524b62b0f76fdd205e30102b374c48f21e1.zip
Qt-578dd524b62b0f76fdd205e30102b374c48f21e1.tar.gz
Qt-578dd524b62b0f76fdd205e30102b374c48f21e1.tar.bz2
Use the unified toolbar on Mac.
Diffstat (limited to 'examples/webkit')
-rw-r--r--examples/webkit/fancybrowser/mainwindow.cpp1
-rw-r--r--examples/webkit/formextractor/mainwindow.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/webkit/fancybrowser/mainwindow.cpp b/examples/webkit/fancybrowser/mainwindow.cpp
index 9f899b4..6d477db 100644
--- a/examples/webkit/fancybrowser/mainwindow.cpp
+++ b/examples/webkit/fancybrowser/mainwindow.cpp
@@ -94,6 +94,7 @@ MainWindow::MainWindow()
toolsMenu->addAction(tr("Remove all embedded elements"), this, SLOT(removeEmbeddedElements()));
setCentralWidget(view);
+ setUnifiedTitleAndToolBarOnMac(true);
}
//! [3]
diff --git a/examples/webkit/formextractor/mainwindow.cpp b/examples/webkit/formextractor/mainwindow.cpp
index bc92f85..f774737 100644
--- a/examples/webkit/formextractor/mainwindow.cpp
+++ b/examples/webkit/formextractor/mainwindow.cpp
@@ -48,6 +48,7 @@ MainWindow::MainWindow()
createMenus();
centralWidget = new FormExtractor(this);
setCentralWidget(centralWidget);
+ setUnifiedTitleAndToolBarOnMac(true);
}
void MainWindow::createActions()