summaryrefslogtreecommitdiff
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-09 14:33:58 +0000
committerKitware Robot <kwrobot@kitware.com>2017-06-09 10:34:06 -0400
commitb90330f5746aca43c3698c4761bf6c0060afa63e (patch)
tree6e5e24a14eea78efba76ebcaddc615ecfd0d741c /Source/QtDialog
parent7e6e37fdf1bf24194edad6fa8640b7fa8e92e393 (diff)
parent994beddb9342423c5b71b45c91bdffc7b0791bf2 (diff)
downloadcmake-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.cxx2
-rw-r--r--Source/QtDialog/CMakeSetupDialog.h2
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();