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();