diff options
author | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-08 15:08:26 (GMT) |
---|---|---|
committer | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-08 15:08:26 (GMT) |
commit | 46cb3a09f4eedb2d4c612a6d73e9e0f14237350c (patch) | |
tree | d318fadf80d53e6bdf5f9c546417122785d1c9a4 /src/gui/widgets/qmainwindow.cpp | |
parent | fb8dccabd68a854c50adfc3f1e77badc3ff50ec8 (diff) | |
download | Qt-46cb3a09f4eedb2d4c612a6d73e9e0f14237350c.zip Qt-46cb3a09f4eedb2d4c612a6d73e9e0f14237350c.tar.gz Qt-46cb3a09f4eedb2d4c612a6d73e9e0f14237350c.tar.bz2 |
Fixes from code review
Diffstat (limited to 'src/gui/widgets/qmainwindow.cpp')
-rw-r--r-- | src/gui/widgets/qmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmainwindow.cpp b/src/gui/widgets/qmainwindow.cpp index 90c5db9..2f3b412 100644 --- a/src/gui/widgets/qmainwindow.cpp +++ b/src/gui/widgets/qmainwindow.cpp @@ -484,7 +484,7 @@ void QMainWindow::setMenuBar(QMenuBar *menuBar) if (menuBar) { QAction* menu = new QAction(QString::fromLatin1("Menu"), this); menu->setSoftKeyRole(QAction::MenuSoftKey); - setSoftKeys(menu); + setSoftKey(menu); } } |