projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use the QPointer::clear() function that was introduced in Qt5
[quassel.git]
/
src
/
uisupport
/
bufferview.cpp
diff --git
a/src/uisupport/bufferview.cpp
b/src/uisupport/bufferview.cpp
index
30cf217
..
b879acd
100644
(file)
--- a/
src/uisupport/bufferview.cpp
+++ b/
src/uisupport/bufferview.cpp
@@
-715,7
+715,7
@@
void BufferViewDock::onFilterReturnPressed()
{
if (_oldFocusItem) {
_oldFocusItem->setFocus();
- _oldFocusItem
.clear()
;
+ _oldFocusItem
= 0
;
}
if (!config()->showSearch()) {
@@
-763,7
+763,7
@@
bool BufferViewDock::eventFilter(QObject *object, QEvent *event)
if (_oldFocusItem) {
_oldFocusItem->setFocus();
- _oldFocusItem
.clear()
;
+ _oldFocusItem
= 0
;
}
return true;