summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-07 00:41:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-07 00:41:22 +0200
commit530fa0d6acad0587e24f29aa2147d1d9410aa396 (patch)
tree9cfc1be75c838107784309a64eeae1cfab89d78d /src/mainview.cpp
parentFinally (and hopefully) fixed Google search url. Sorry for committing spam :) (diff)
parentMerge branch 'master' of git@gitorious.org:~avaddon/rekonq/avaddon-clone.git (diff)
downloadrekonq-530fa0d6acad0587e24f29aa2147d1d9410aa396.tar.xz
Merge commit 'avaddon/master'
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 17e248f1..a3c6e77e 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -502,11 +502,10 @@ void MainView::slotCloseTab(int index)
{
if (tab->isModified())
{
- int risp = KMessageBox::questionYesNo(this ,
+ int risp = KMessageBox::questionYesNo(this,
i18n("You have modified this page and when closing it you would lose the modification.\n"
- "Do you really want to close this page?\n"),
- i18n("Do you really want to close this page?")
- );
+ "Do you really want to close this page?\n"),
+ i18n("Do you really want to close this page?"));
if (risp == KMessageBox::No)
return;
}
@@ -587,7 +586,7 @@ void MainView::webViewIconChanged()
int index = webViewIndex(webView);
if (-1 != index)
{
- QIcon icon = Application::instance()->icon(webView->url());
+ QIcon icon = Application::icon(webView->url());
QLabel *label = animatedLoading(index, false);
QMovie *movie = label->movie();
delete movie;