diff --git a/src/article_netmgr.cc b/src/article_netmgr.cc index 62d2aef68..9ce868348 100644 --- a/src/article_netmgr.cc +++ b/src/article_netmgr.cc @@ -110,7 +110,7 @@ QNetworkReply * ArticleNetworkAccessManager::getArticleReply( QNetworkRequest co if ( req.url().scheme() == "gdlookup" ) { QString path = url.path(); - if ( !path.isEmpty() ) { + if ( path.size() > 1 ) { url.setPath( "" ); Utils::Url::addQueryItem( url, "word", path.mid( 1 ) ); diff --git a/src/fulltextsearch.cc b/src/fulltextsearch.cc index a2ae70517..f59d55d39 100644 --- a/src/fulltextsearch.cc +++ b/src/fulltextsearch.cc @@ -41,7 +41,7 @@ void Indexing::run() QFuture< void > const f = QtConcurrent::run( [ this, &sem, &dictionary ]() { QSemaphoreReleaser const _( sem ); const QString & dictionaryName = QString::fromUtf8( dictionary->getName().c_str() ); - qDebug() << "[FULLTEXT] make fts for the dictionary:" << dictionaryName; + qDebug() << "[FULLTEXT] checking fts for the dictionary:" << dictionaryName; emit sendNowIndexingName( dictionaryName ); dictionary->makeFTSIndex( isCancelled, false ); } );