mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
[SBI_Icons] Update JavaScript icon state on startup
This commit is contained in:
parent
9c67d874e7
commit
d6625c60fb
@ -37,6 +37,8 @@ SBI_JavaScriptIcon::SBI_JavaScriptIcon(BrowserWindow* window)
|
|||||||
|
|
||||||
connect(m_window->tabWidget(), SIGNAL(currentChanged(int)), this, SLOT(updateIcon()));
|
connect(m_window->tabWidget(), SIGNAL(currentChanged(int)), this, SLOT(updateIcon()));
|
||||||
connect(this, SIGNAL(clicked(QPoint)), this, SLOT(showMenu(QPoint)));
|
connect(this, SIGNAL(clicked(QPoint)), this, SLOT(showMenu(QPoint)));
|
||||||
|
|
||||||
|
updateIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SBI_JavaScriptIcon::showMenu(const QPoint &point)
|
void SBI_JavaScriptIcon::showMenu(const QPoint &point)
|
||||||
|
Loading…
Reference in New Issue
Block a user