Websites: Set "As link" option turned on by default

This commit is contained in:
Abs62 2016-06-17 22:21:59 +03:00
parent b7a707d7c0
commit b72d377d78
2 changed files with 4 additions and 0 deletions

View file

@ -568,6 +568,8 @@ void WebSitesModel::addNewSite()
w.url = "http://"; w.url = "http://";
w.inside_iframe = true;
beginInsertRows( QModelIndex(), webSites.size(), webSites.size() ); beginInsertRows( QModelIndex(), webSites.size(), webSites.size() );
webSites.push_back( w ); webSites.push_back( w );
endInsertRows(); endInsertRows();

View file

@ -249,6 +249,8 @@ void WebSiteArticleRequest::requestFinished( QNetworkReply * r )
articleBody.prepend( divStr.toUtf8() ); articleBody.prepend( divStr.toUtf8() );
articleBody.append( "</div>" ); articleBody.append( "</div>" );
articleBody.prepend( "<div class=\"website_padding\"></div>" );
Mutex::Lock _( dataMutex ); Mutex::Lock _( dataMutex );
size_t prevSize = data.size(); size_t prevSize = data.size();