diff options
Diffstat (limited to 'src/protocols/abouthandler.cpp')
| -rw-r--r-- | src/protocols/abouthandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/protocols/abouthandler.cpp b/src/protocols/abouthandler.cpp index 53646d9..5192f0c 100644 --- a/src/protocols/abouthandler.cpp +++ b/src/protocols/abouthandler.cpp @@ -30,7 +30,11 @@ bool AboutHandler::startRequest(const QUrl &url, ProtocolHandler::RequestOptions for (auto const &fav : kristall::favourites.allFavourites()) { - document.append("=> " + fav->destination.toString().toUtf8() + "\n"); + if(fav->title.isEmpty()) { + document.append("=> " + fav->destination.toString().toUtf8() + "\n"); + } else { + document.append("=> " + fav->destination.toString().toUtf8() + " " + fav->title.toUtf8() + "\n"); + } } this->requestComplete(document, "text/gemini"); |
