mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Merge branch 'v2.1'
This commit is contained in:
commit
1f362c0cb7
|
@ -847,7 +847,7 @@ void Preferences::saveSettings()
|
|||
|
||||
switch (ui->newTab->currentIndex()) {
|
||||
case 0:
|
||||
settings.setValue("newTabUrl", QUrl(QSL("about:blank")));
|
||||
settings.setValue("newTabUrl", QUrl());
|
||||
break;
|
||||
|
||||
case 1:
|
||||
|
|
|
@ -90,7 +90,11 @@ void TabIcon::updateIcon()
|
|||
{
|
||||
m_sitePixmap = m_tab->icon(/*allowNull*/ true).pixmap(16);
|
||||
if (m_sitePixmap.isNull()) {
|
||||
m_hideTimer->start();
|
||||
if (m_tab->url().isEmpty() || m_tab->url().scheme() == QL1S("qupzilla")) {
|
||||
hide();
|
||||
} else {
|
||||
m_hideTimer->start();
|
||||
}
|
||||
} else {
|
||||
show();
|
||||
}
|
||||
|
|
|
@ -291,8 +291,9 @@ void WebTab::attach(BrowserWindow* window)
|
|||
m_tabBar = m_window->tabWidget()->tabBar();
|
||||
|
||||
m_webView->setBrowserWindow(m_window);
|
||||
m_tabBar->setTabButton(tabIndex(), m_tabBar->iconButtonPosition(), m_tabIcon);
|
||||
m_tabBar->setTabText(tabIndex(), title());
|
||||
m_tabBar->setTabButton(tabIndex(), m_tabBar->iconButtonPosition(), m_tabIcon);
|
||||
m_tabIcon->updateIcon();
|
||||
}
|
||||
|
||||
void WebTab::setHistoryData(const QByteArray &data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user