diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-04 20:12:06 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-05 07:21:11 (GMT) |
commit | a57b30bb6037977cb0c8023e758a0850915334eb (patch) | |
tree | 6d2bfd937c2e6340162ea8d6f9573570fd1e7224 /Source/QtDialog/QCMakeWidgets.cxx | |
parent | 7a0e239240ceb58230a11b64fe8c8a63d6854c30 (diff) | |
download | CMake-a57b30bb6037977cb0c8023e758a0850915334eb.zip CMake-a57b30bb6037977cb0c8023e758a0850915334eb.tar.gz CMake-a57b30bb6037977cb0c8023e758a0850915334eb.tar.bz2 |
QtDialog: add missing emit keywords
Diffstat (limited to 'Source/QtDialog/QCMakeWidgets.cxx')
-rw-r--r-- | Source/QtDialog/QCMakeWidgets.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/QtDialog/QCMakeWidgets.cxx b/Source/QtDialog/QCMakeWidgets.cxx index 6a55a76..7f0cafa 100644 --- a/Source/QtDialog/QCMakeWidgets.cxx +++ b/Source/QtDialog/QCMakeWidgets.cxx @@ -54,11 +54,11 @@ void QCMakeFilePathEditor::chooseFile() title = tr("Select File for %1"); title = title.arg(this->Variable); } - this->fileDialogExists(true); + emit this->fileDialogExists(true); path = QFileDialog::getOpenFileName(this, title, info.absolutePath(), QString(), CM_NULLPTR, QFileDialog::DontResolveSymlinks); - this->fileDialogExists(false); + emit this->fileDialogExists(false); if (!path.isEmpty()) { this->setText(QDir::fromNativeSeparators(path)); @@ -76,11 +76,11 @@ void QCMakePathEditor::chooseFile() title = tr("Select Path for %1"); title = title.arg(this->Variable); } - this->fileDialogExists(true); + emit this->fileDialogExists(true); path = QFileDialog::getExistingDirectory(this, title, this->text(), QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); - this->fileDialogExists(false); + emit this->fileDialogExists(false); if (!path.isEmpty()) { this->setText(QDir::fromNativeSeparators(path)); } |