mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Merge branch 'Falkon/3.0'
This commit is contained in:
commit
fff386c3d7
@ -316,7 +316,7 @@ void BookmarksToolbarButton::paintEvent(QPaintEvent* event)
|
||||
option.features &= ~QStyleOptionButton::HasMenu;
|
||||
|
||||
// Draw button base (only under mouse, this is autoraise button)
|
||||
if (isDown() || underMouse()) {
|
||||
if (isDown() || hitButton(mapFromGlobal(QCursor::pos()))) {
|
||||
option.state |= QStyle::State_AutoRaise | QStyle::State_Raised;
|
||||
style()->drawPrimitive(QStyle::PE_PanelButtonTool, &option, &p, this);
|
||||
}
|
||||
|
@ -230,8 +230,10 @@ QString Scripts::completeFormData(const QByteArray &data)
|
||||
" var type = input.type.toLowerCase();"
|
||||
" if (type != 'text' && type != 'password' && type != 'email')"
|
||||
" continue;"
|
||||
" if (input.name == key)"
|
||||
" if (input.name == key) {"
|
||||
" input.value = val;"
|
||||
" input.dispatchEvent(new Event('change'));"
|
||||
" }"
|
||||
" }"
|
||||
"}"
|
||||
""
|
||||
|
Loading…
Reference in New Issue
Block a user