summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-25 08:23:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-10-25 08:23:44 +0100
commit97a3831e5c206f34670e09339ecebfaef69335e2 (patch)
treed7aaec5220b60046390419d472173965d3605892
parentModified string as discussed with pano (diff)
downloadrekonq-97a3831e5c206f34670e09339ecebfaef69335e2.tar.xz
Last Krazy fixes
-rw-r--r--src/mainview.cpp2
-rw-r--r--src/previewimage.cpp2
2 files changed, 2 insertions, 2 deletions
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());