diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-29 22:03:56 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-29 22:03:56 +0200 |
| commit | b65fac29aeaceb6bf8bf9df7a852cdd4a8b651c8 (patch) | |
| tree | 60a9a12cad1b2a5a213ca511fa30938e24c7769a /src/protocols | |
| parent | 8e910f26a28b1b1beae363e6c19f39224f74e2e8 (diff) | |
| download | kristall-b65fac29aeaceb6bf8bf9df7a852cdd4a8b651c8.tar.gz | |
Adds basic editing for favourite groups
Diffstat (limited to 'src/protocols')
| -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"); |
