diff options
| author | 2023-07-08 01:38:33 +0200 | |
|---|---|---|
| committer | 2023-07-08 01:38:33 +0200 | |
| commit | 28292170d8c02743cabfabba3a1623b8d71b9aa2 (patch) | |
| tree | 03c7269f527a40a5b86863db7c111f2552afe46c /src/modules/help | |
| parent | Merge branch 'bugfix/script-editor-out-of-range-exception' (diff) | |
| download | KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.tar.gz KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.tar.bz2 KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.zip | |
Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)
* Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed.
---------
Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
Diffstat (limited to 'src/modules/help')
| -rw-r--r-- | src/modules/help/HelpWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/help/HelpWindow.cpp b/src/modules/help/HelpWindow.cpp index c7140d641..3f0219df9 100644 --- a/src/modules/help/HelpWindow.cpp +++ b/src/modules/help/HelpWindow.cpp @@ -187,7 +187,7 @@ void HelpWindow::startSearch() QString buf = str; str = str.replace("-", " "); str = str.replace(QRegExp(R"(\s[\S]?\s)"), " "); - m_terms = str.split(" ", QString::SkipEmptyParts); + m_terms = str.split(" ", Qt::SkipEmptyParts); QStringList termSeq; QStringList seqWords; QStringList::iterator it = m_terms.begin(); @@ -218,7 +218,7 @@ void HelpWindow::startSearch() __tr2qs("Using a wildcard within phrases is not allowed.")); return; } - seqWords += s.split(' ', QString::SkipEmptyParts); + seqWords += s.split(' ', Qt::SkipEmptyParts); termSeq << s; beg = str.indexOf('\"', end + 1); } |
