From 5740873ed62856e421bc7974efeca12e76cdc477 Mon Sep 17 00:00:00 2001 From: nowrep Date: Wed, 17 Apr 2013 13:35:32 +0200 Subject: [PATCH] Fixed incorrectly showing close buttons on tabs after restoring session. Only reproducible when tabs overflows the tabbar. Also fixed build warning on Windows. --- src/lib/lib.pro | 1 - src/lib/webview/tabbar.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/lib.pro b/src/lib/lib.pro index 4ce574601..30bd50b7c 100644 --- a/src/lib/lib.pro +++ b/src/lib/lib.pro @@ -467,7 +467,6 @@ isEqual(QT_MAJOR_VERSION, 5) { win32 { HEADERS += other/registerqappassociation.h SOURCES += other/registerqappassociation.cpp - RESOURCES += data/certs.qrc } mac { diff --git a/src/lib/webview/tabbar.cpp b/src/lib/webview/tabbar.cpp index dc8c86f11..e2a5d18e2 100644 --- a/src/lib/webview/tabbar.cpp +++ b/src/lib/webview/tabbar.cpp @@ -55,7 +55,7 @@ TabBar::TabBar(QupZilla* mainClass, TabWidget* tabWidget) setElideMode(Qt::ElideRight); setDocumentMode(true); setFocusPolicy(Qt::NoFocus); - setTabsClosable(true); + //setTabsClosable(true); setMouseTracking(true); setMovable(true);