From 97a3831e5c206f34670e09339ecebfaef69335e2 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 25 Oct 2009 08:23:44 +0100 Subject: Last Krazy fixes --- src/mainview.cpp | 2 +- src/previewimage.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mainview.cpp b/src/mainview.cpp index 6d282e0c..80753bbf 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -418,7 +418,7 @@ void MainView::slotCloseTab(int index) hasFocus = tab->hasFocus(); //store close tab except homepage - if (!tab->url().prettyUrl().startsWith("rekonq:") && !tab->url().isEmpty()) + if (!tab->url().prettyUrl().startsWith( QLatin1String("rekonq:") ) && !tab->url().isEmpty()) { QString title = tab->title(); QString url = tab->url().prettyUrl(); diff --git a/src/previewimage.cpp b/src/previewimage.cpp index 99969893..df3a3471 100644 --- a/src/previewimage.cpp +++ b/src/previewimage.cpp @@ -167,7 +167,7 @@ void PreviewImage::snapFinished() // update url (for added thumbs) QStringList urls = ReKonfig::previewUrls(); - // stripTrailingSlash to be sure to get the same string for same adress + // stripTrailingSlash to be sure to get the same string for same address urls.replace(m_index, ws->snapUrl().toString(QUrl::StripTrailingSlash)); names.replace(m_index, ws->snapTitle()); -- cgit v1.2.1