diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-08 20:15:21 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-08 20:15:21 (GMT) |
commit | 994beddb9342423c5b71b45c91bdffc7b0791bf2 (patch) | |
tree | 47c9511928e963000bb543eb59fbfe392d8138e0 /Source/QtDialog | |
parent | cab94b7c4f82653796e407c90c8d348e8f45a904 (diff) | |
download | CMake-994beddb9342423c5b71b45c91bdffc7b0791bf2.zip CMake-994beddb9342423c5b71b45c91bdffc7b0791bf2.tar.gz CMake-994beddb9342423c5b71b45c91bdffc7b0791bf2.tar.bz2 |
CMakeSetupDialog: Pass QPoint by value
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 57f8e10..5290afe 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 1abdb46..0da28d8 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(); |