[rekonq] [PATCH] Disable home toolbarbutton when home page is "about:blank"

Benjamin Poulain benjamin.poulain at nokia.com
Wed May 19 19:39:24 CEST 2010


ext Cédric Bellegarde wrote:
> i'm using "about:blank" as home page, in this case, home button isn't really 
> usefull, this patch disable it when homepage is "about:blank".

+    if (ReKonfig::homePage() == "about:blank")
Maybe use QString::fromLatin1() to avoid using the default encoding for 
the string:
+    if (ReKonfig::homePage() == QString::fromLatin1("about:blank"))
?

I think the behavior could be confusing to users.

cheers,
Benjamin


More information about the rekonq mailing list