summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview
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/graphicsview
parent7e8008cdd707d4ea3504df4ad02a4589c7b16510 (diff)
downloadQt-578dd524b62b0f76fdd205e30102b374c48f21e1.zip
Qt-578dd524b62b0f76fdd205e30102b374c48f21e1.tar.gz
Qt-578dd524b62b0f76fdd205e30102b374c48f21e1.tar.bz2
Use the unified toolbar on Mac.
Diffstat (limited to 'examples/graphicsview')
-rw-r--r--examples/graphicsview/diagramscene/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graphicsview/diagramscene/mainwindow.cpp b/examples/graphicsview/diagramscene/mainwindow.cpp
index ad8006e..4783280 100644
--- a/examples/graphicsview/diagramscene/mainwindow.cpp
+++ b/examples/graphicsview/diagramscene/mainwindow.cpp
@@ -76,6 +76,7 @@ MainWindow::MainWindow()
setCentralWidget(widget);
setWindowTitle(tr("Diagramscene"));
+ setUnifiedTitleAndToolBarOnMac(true);
}
//! [0]