Fix compilation with Qt 4.6 (issue #470)

and fix typo in comments
This commit is contained in:
Abs62 2014-04-26 16:26:16 +04:00
parent a4ea28c121
commit 8abc30f01d
2 changed files with 3 additions and 1 deletions

View file

@ -1416,7 +1416,9 @@ bool BtreeDictionary::getHeadwords( QStringList &headwords )
if( setOfHeadwords.size() )
{
#if QT_VERSION >= 0x040700
headwords.reserve( setOfHeadwords.size() );
#endif
QSet< QString >::const_iterator it = setOfHeadwords.constBegin();
QSet< QString >::const_iterator end = setOfHeadwords.constEnd();

View file

@ -82,7 +82,7 @@ void normalizeWhitespace( wstring & );
/// Unescape all wildcard symbols (for exast search)
QString unescapeWildcardSymbols( QString const & );
/// Unescape all wildcard symbols (for place word to input line)
/// Escape all wildcard symbols (for place word to input line)
QString escapeWildcardSymbols( QString const & );
}