diff options
author | Brad King <brad.king@kitware.com> | 2017-06-09 14:33:58 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-09 10:34:06 -0400 |
commit | b90330f5746aca43c3698c4761bf6c0060afa63e (patch) | |
tree | 6e5e24a14eea78efba76ebcaddc615ecfd0d741c /Source/QtDialog | |
parent | 7e6e37fdf1bf24194edad6fa8640b7fa8e92e393 (diff) | |
parent | 994beddb9342423c5b71b45c91bdffc7b0791bf2 (diff) | |
download | cmake-b90330f5746aca43c3698c4761bf6c0060afa63e.tar.gz |
Merge topic 'qt-pass-point-by-value'
994beddb CMakeSetupDialog: Pass QPoint by value
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !946
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 2 | ||||
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx index 57f8e107e4..5290afe6dd 100644 --- a/Source/QtDialog/CMakeSetupDialog.cxx +++ b/Source/QtDialog/CMakeSetupDialog.cxx @@ -1195,7 +1195,7 @@ void CMakeSetupDialog::setSearchFilter(const QString& str) this->CacheValues->setSearchFilter(str); } -void CMakeSetupDialog::doOutputContextMenu(const QPoint& pt) +void CMakeSetupDialog::doOutputContextMenu(QPoint pt) { QMenu* menu = this->Output->createStandardContextMenu(); diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h index 1abdb462da..0da28d8137 100644 --- a/Source/QtDialog/CMakeSetupDialog.h +++ b/Source/QtDialog/CMakeSetupDialog.h @@ -70,7 +70,7 @@ protected slots: bool doConfigureInternal(); bool doGenerateInternal(); void exitLoop(int); - void doOutputContextMenu(const QPoint&); + void doOutputContextMenu(QPoint pt); void doOutputFindDialog(); void doOutputFindNext(bool directionForward = true); void doOutputFindPrev(); |