mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[TabBar] Don't draw base. Should help with Qt5 Fusion style
Also small changes in MainApplication
This commit is contained in:
parent
d14655a3ab
commit
fb2629898b
|
@ -270,6 +270,9 @@ MainApplication::~MainApplication()
|
|||
{
|
||||
// Delete all classes that are saving data in destructor
|
||||
delete m_bookmarks;
|
||||
delete m_cookieJar;
|
||||
|
||||
IconProvider::instance()->saveIconsToDatabase();
|
||||
}
|
||||
|
||||
bool MainApplication::isClosing() const
|
||||
|
@ -729,7 +732,6 @@ void MainApplication::saveSettings()
|
|||
|
||||
qzSettings->saveSettings();
|
||||
AdBlockManager::instance()->save();
|
||||
IconProvider::instance()->saveIconsToDatabase();
|
||||
QFile::remove(DataPaths::currentProfilePath() + QLatin1String("/WebpageIcons.db"));
|
||||
Settings::syncSettings();
|
||||
}
|
||||
|
|
|
@ -55,13 +55,13 @@ TabBar::TabBar(BrowserWindow* window, TabWidget* tabWidget)
|
|||
setObjectName("tabbar");
|
||||
setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
setElideMode(Qt::ElideRight);
|
||||
setDocumentMode(true);
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setTabsClosable(false);
|
||||
setMouseTracking(true);
|
||||
setMovable(true);
|
||||
|
||||
setDocumentMode(true);
|
||||
setAcceptDrops(true);
|
||||
setDrawBase(false);
|
||||
setMovable(true);
|
||||
|
||||
connect(this, SIGNAL(currentChanged(int)), this, SLOT(currentTabChanged(int)));
|
||||
connect(this, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextMenuRequested(QPoint)));
|
||||
|
|
Loading…
Reference in New Issue
Block a user