diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-05-23 18:29:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-23 18:29:33 +0200 |
commit | b60db0bb4960499d7e384e01ba6d775f48922767 (patch) | |
tree | 2f8aa169178ae8d12c4e7ba5f602e35856f9abe7 /src | |
parent | reordering favorites by drag & drop (diff) | |
download | rekonq-b60db0bb4960499d7e384e01ba6d775f48922767.tar.xz |
Reload Preview fix
Diffstat (limited to 'src')
-rw-r--r-- | src/newtabpage.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index 9e50ef19..8d5e5780 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -400,7 +400,7 @@ void NewTabPage::favoritesPage() QWebElement prev = url.isEmpty() ? emptyPreview(i) - : validPreview(i, url, QString::number(i + 1) + " - " + names.at(i)); + : validPreview(i, url, QString::number(i + 1) + QL1S(" - ") + names.at(i)); m_root.appendInside(prev); } @@ -736,10 +736,9 @@ void NewTabPage::reloadPreview(int index) QString urlString = ReKonfig::previewUrls().at(index); QString nameString = ReKonfig::previewNames().at(index); - kDebug() << "URL: " << urlString; - kDebug() << "NAME: " << nameString; - - ThumbUpdater *t = new ThumbUpdater(thumb, urlString, nameString); + QString title = checkTitle(QString::number(index + 1) + QL1S(" - ") + nameString); + + ThumbUpdater *t = new ThumbUpdater(thumb, urlString, title); t->updateThumb(); } |