diff --git a/src/dict/bgl.cc b/src/dict/bgl.cc index 97cb29d7..f2d7d161 100644 --- a/src/dict/bgl.cc +++ b/src/dict/bgl.cc @@ -32,12 +32,6 @@ #include #include -#if ( QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 ) ) - #include -#else - #include -#endif - namespace Bgl { using std::map; diff --git a/src/dict/slob.cc b/src/dict/slob.cc index 6287c976..e471b69a 100644 --- a/src/dict/slob.cc +++ b/src/dict/slob.cc @@ -28,10 +28,6 @@ #include #include #include -#include -#if ( QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 ) ) - #include -#endif #include #include @@ -792,7 +788,7 @@ string SlobDictionary::convert( const string & in, RefEntry const & entry ) pos = match.capturedEnd(); QStringList list = match.capturedTexts(); - // Add empty strings for compatibility with QRegExp behaviour + // Add empty strings for compatibility with regex behaviour for ( int i = match.lastCapturedIndex() + 1; i < 5; i++ ) list.append( QString() ); diff --git a/src/dict/zim.cc b/src/dict/zim.cc index 5f5ef0c8..834b933a 100644 --- a/src/dict/zim.cc +++ b/src/dict/zim.cc @@ -388,7 +388,7 @@ string ZimDictionary::convert( const string & in ) pos = match.capturedEnd(); QStringList list = match.capturedTexts(); - // Add empty strings for compatibility with QRegExp behaviour + // Add empty strings for compatibility with regex behaviour for ( int i = list.size(); i < 5; i++ ) list.append( QString() ); @@ -435,7 +435,7 @@ string ZimDictionary::convert( const string & in ) pos = match.capturedEnd(); QStringList list = match.capturedTexts(); - // Add empty strings for compatibility with QRegExp behaviour + // Add empty strings for compatibility with regex behaviour for ( int i = match.lastCapturedIndex() + 1; i < 3; i++ ) list.append( QString() );