qupzilla: edit patch

This commit is contained in:
Burce 2014-01-07 15:58:37 +00:00
parent 7c25d261f4
commit 98a3186429
2 changed files with 13 additions and 6 deletions

View File

@ -3,7 +3,7 @@
pkgname=qupzilla
pkgver=1.6.0
pkgrel=2
pkgrel=3
pkgdesc="A very fast open source browser based on WebKit core"
url="http://www.qupzilla.com"
arch=('x86_64')
@ -15,12 +15,10 @@ install=${pkgname}.install
screenshot='http://www.qupzilla.com/screens/kde.png'
source=("https://github.com/QupZilla/qupzilla/archive/v${pkgver}.tar.gz"
'qupzilla.patch'
'start-white.png'
'qupzilla.changelog')
'start-white.png')
sha256sums=('67a12326c55de32434b3381f0574bf1be5858ca9f20eaa513feb720fd8f67dc4'
'932f0b84eaebbbc1b7f09877c100130bde0c56606f0c11b4a1876a2d3b4981e9'
'5bdac9f329c5d240e9aa58d7960f5f8b4c372e8908e2cf1080a02619a4695f09'
'6f3b069561d2b5512f10618f6b986a2e075901112da4c33febb083bc7679a309')
'c69006400f534c8de5a5628133145e4ec0ce3eced354df1e5f7f0038d8154c1b'
'5bdac9f329c5d240e9aa58d7960f5f8b4c372e8908e2cf1080a02619a4695f09')
prepare() {
cd "${pkgname}-${pkgver}/src/lib"

View File

@ -10,6 +10,15 @@ diff -Naur lib.orig/app/qupzilla.cpp lib/app/qupzilla.cpp
settings.endGroup();
QWebSettings* websettings = mApp->webSettings();
@@ -795,7 +795,7 @@
bool showWebSearchBar = settings.value("showWebSearchBar", true).toBool();
bool showBookmarksToolbar = settings.value("showBookmarksToolbar", true).toBool();
bool showNavigationToolbar = settings.value("showNavigationToolbar", true).toBool();
- bool showMenuBar = settings.value("showMenubar", true).toBool();
+ bool showMenuBar = settings.value("showMenubar", false).toBool();
bool makeTransparent = settings.value("useTransparentBackground", false).toBool();
m_sideBarWidth = settings.value("SideBarWidth", 250).toInt();
m_webViewWidth = settings.value("WebViewWidth", 2000).toInt();
diff -Naur lib.orig/opensearch/searchenginesmanager.cpp lib/opensearch/searchenginesmanager.cpp
--- lib.orig/opensearch/searchenginesmanager.cpp 2014-01-02 03:55:33.000000000 +0800
+++ lib/opensearch/searchenginesmanager.cpp 2014-01-02 08:41:23.306313965 +0800