Fixed incorrectly showing close buttons on tabs after restoring session.

Only reproducible when tabs overflows the tabbar.
Also fixed build warning on Windows.
remotes/origin/falkon
nowrep 13 years ago
parent ffdbb49444
commit 5740873ed6
  1. 1
      src/lib/lib.pro
  2. 2
      src/lib/webview/tabbar.cpp

@ -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 {

@ -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);

Loading…
Cancel
Save