From b72d377d7811ae6d5744c8b87c217193336127b6 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Fri, 17 Jun 2016 22:21:59 +0300 Subject: [PATCH] Websites: Set "As link" option turned on by default --- sources.cc | 2 ++ website.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sources.cc b/sources.cc index 49166698..55addd6d 100644 --- a/sources.cc +++ b/sources.cc @@ -568,6 +568,8 @@ void WebSitesModel::addNewSite() w.url = "http://"; + w.inside_iframe = true; + beginInsertRows( QModelIndex(), webSites.size(), webSites.size() ); webSites.push_back( w ); endInsertRows(); diff --git a/website.cc b/website.cc index cfcc3e79..b19d3fb9 100644 --- a/website.cc +++ b/website.cc @@ -249,6 +249,8 @@ void WebSiteArticleRequest::requestFinished( QNetworkReply * r ) articleBody.prepend( divStr.toUtf8() ); articleBody.append( "" ); + articleBody.prepend( "
" ); + Mutex::Lock _( dataMutex ); size_t prevSize = data.size();