Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
Rekonq
Commits
8b3ec159
Commit
8b3ec159
authored
Feb 12, 2013
by
Andrea Diamantini
Browse files
Double check (event) filtered window && window list
BUG: 312990
parent
40a4a3a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/application.cpp
View file @
8b3ec159
...
...
@@ -462,7 +462,9 @@ bool Application::eventFilter(QObject* watched, QEvent* event)
TabWindow
*
window
=
qobject_cast
<
TabWindow
*>
(
watched
);
if
(
window
)
{
if
(
m_tabWindows
.
at
(
0
).
data
()
!=
window
)
if
(
!
m_tabWindows
.
isEmpty
()
&&
m_tabWindows
.
at
(
0
)
&&
m_tabWindows
.
at
(
0
).
data
()
!=
window
)
{
int
index
=
m_tabWindows
.
indexOf
(
QWeakPointer
<
TabWindow
>
(
window
));
Q_ASSERT
(
index
!=
-
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment