mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
opt: remove debug info
This commit is contained in:
parent
9d34a6a316
commit
0596ed5e45
|
@ -486,9 +486,6 @@ void ArticleRequest::altSearchFinished()
|
|||
}
|
||||
|
||||
if ( altSearches.empty() ) {
|
||||
#ifdef QT_DEBUG
|
||||
qDebug( "alts finished" );
|
||||
#endif
|
||||
|
||||
// They all've finished! Now we can look up bodies
|
||||
|
||||
|
@ -496,12 +493,6 @@ void ArticleRequest::altSearchFinished()
|
|||
|
||||
vector< wstring > altsVector( alts.begin(), alts.end() );
|
||||
|
||||
#ifdef QT_DEBUG
|
||||
for ( const auto & x : altsVector ) {
|
||||
qDebug() << "Alt:" << QString::fromStdU32String( x );
|
||||
}
|
||||
#endif
|
||||
|
||||
wstring wordStd = gd::toWString( word );
|
||||
|
||||
if ( activeDicts.size() <= 1 )
|
||||
|
|
|
@ -1887,9 +1887,7 @@ vector< sptr< Dictionary::Class > > makeDictionaries( vector< string > const & f
|
|||
if ( isDslWs( curString[ 0 ] ) )
|
||||
break; // No more headwords
|
||||
|
||||
#ifdef QT_DEBUG
|
||||
qDebug() << "Alt headword" << QString::fromStdU32String( curString );
|
||||
#endif
|
||||
qDebug() << "dsl Alt headword" << QString::fromStdU32String( curString );
|
||||
|
||||
processUnsortedParts( curString, true );
|
||||
expandTildes( curString, allEntryWords.front() );
|
||||
|
|
|
@ -411,9 +411,6 @@ QVector< wstring > suggest( wstring & word, QMutex & hunspellMutex, Hunspell & h
|
|||
|
||||
if ( Folding::applySimpleCaseOnly( alt ) != lowercasedWord ) // No point in providing same word
|
||||
{
|
||||
#ifdef QT_DEBUG
|
||||
qDebug() << ">>>>>Alt:" << QString::fromStdU32String( alt );
|
||||
#endif
|
||||
result.append( alt );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1635,9 +1635,7 @@ void MainWindow::updateGroupList()
|
|||
|
||||
updateDictionaryBar();
|
||||
|
||||
#ifdef QT_DEBUG
|
||||
qDebug() << "Reloading all the tabs...";
|
||||
#endif
|
||||
|
||||
for ( int i = 0; i < ui.tabWidget->count(); ++i ) {
|
||||
ArticleView & view = dynamic_cast< ArticleView & >( *( ui.tabWidget->widget( i ) ) );
|
||||
|
|
Loading…
Reference in a new issue