1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fixed incorrectly showing close buttons on tabs after restoring session.

Only reproducible when tabs overflows the tabbar.
Also fixed build warning on Windows.
This commit is contained in:
nowrep 2013-04-17 13:35:32 +02:00
parent ffdbb49444
commit 5740873ed6
2 changed files with 1 additions and 2 deletions

View File

@ -467,7 +467,6 @@ isEqual(QT_MAJOR_VERSION, 5) {
win32 { win32 {
HEADERS += other/registerqappassociation.h HEADERS += other/registerqappassociation.h
SOURCES += other/registerqappassociation.cpp SOURCES += other/registerqappassociation.cpp
RESOURCES += data/certs.qrc
} }
mac { mac {

View File

@ -55,7 +55,7 @@ TabBar::TabBar(QupZilla* mainClass, TabWidget* tabWidget)
setElideMode(Qt::ElideRight); setElideMode(Qt::ElideRight);
setDocumentMode(true); setDocumentMode(true);
setFocusPolicy(Qt::NoFocus); setFocusPolicy(Qt::NoFocus);
setTabsClosable(true); //setTabsClosable(true);
setMouseTracking(true); setMouseTracking(true);
setMovable(true); setMovable(true);