diff options
-rw-r--r-- | .qmake.conf | 2 | ||||
-rw-r--r-- | src/macextras/qmactoolbar.mm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.qmake.conf b/.qmake.conf index e543981..66a0241 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1,3 +1,3 @@ load(qt_build_config) -MODULE_VERSION = 5.5.1 +MODULE_VERSION = 5.6.0 diff --git a/src/macextras/qmactoolbar.mm b/src/macextras/qmactoolbar.mm index 5c05876..5a04c18 100644 --- a/src/macextras/qmactoolbar.mm +++ b/src/macextras/qmactoolbar.mm @@ -77,10 +77,10 @@ QT_BEGIN_NAMESPACE \code QMacToolBar *toolBar = new QMacToolBar(this); QMacToolBarItem *toolBarItem = toolBar->addItem(QIcon(), QStringLiteral("foo")); - connect(toolButton, SIGNAL(activated()), this, SLOT(fooClicked())) + connect(toolBarItem, SIGNAL(activated()), this, SLOT(fooClicked())); this->window()->winId(); // create window->windowhandle() - toolBar->attachToWindow(this->window()->windowHandle()) + toolBar->attachToWindow(this->window()->windowHandle()); \endcode \sa QMacToolBarItem |