diff options
author | Brad King <brad.king@kitware.com> | 2017-12-05 16:32:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-12-05 16:32:08 (GMT) |
commit | 79b241dee076d594f5527a148142c0c15a5909dc (patch) | |
tree | bcdcd7e282f0381d6fe911de7a0572cf2129712f /Source/QtDialog | |
parent | 4a8bbc520aa62187fb70aaf0c28daa67e275c26e (diff) | |
download | CMake-79b241dee076d594f5527a148142c0c15a5909dc.zip CMake-79b241dee076d594f5527a148142c0c15a5909dc.tar.gz CMake-79b241dee076d594f5527a148142c0c15a5909dc.tar.bz2 |
cmake-gui: Update RegexExplorer for changes to KWSys
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/RegexExplorer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/RegexExplorer.cxx b/Source/QtDialog/RegexExplorer.cxx index abed70e..cb67f85 100644 --- a/Source/QtDialog/RegexExplorer.cxx +++ b/Source/QtDialog/RegexExplorer.cxx @@ -8,7 +8,7 @@ RegexExplorer::RegexExplorer(QWidget* p) { this->setupUi(this); - for (int i = 1; i < cmsys::RegularExpression::NSUBEXP; ++i) { + for (int i = 1; i < cmsys::RegularExpressionMatch::NSUBEXP; ++i) { matchNumber->addItem(QString("Match %1").arg(QString::number(i)), QVariant(i)); } @@ -105,7 +105,7 @@ void RegexExplorer::on_matchNumber_currentIndexChanged(int index) QVariant itemData = matchNumber->itemData(index); int idx = itemData.toInt(); - if (idx < 1 || idx >= cmsys::RegularExpression::NSUBEXP) { + if (idx < 1 || idx >= cmsys::RegularExpressionMatch::NSUBEXP) { return; } |