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
Utilities
Kate
Commits
e3934f46
Commit
e3934f46
authored
Feb 04, 2021
by
Waqar Ahmed
Browse files
Fix leak in quick dialogs
parent
58f98568
Changes
2
Hide whitespace changes
Inline
Side-by-side
addons/kate-ctags/gotosymbolwidget.cpp
View file @
e3934f46
...
...
@@ -387,12 +387,12 @@ void GotoSymbolWidget::updateViewGeometry()
move
(
xPos
,
yPos
);
QPointer
<
QPropertyAnimation
>
animation
=
new
QPropertyAnimation
(
this
,
"size"
);
QPropertyAnimation
*
animation
=
new
QPropertyAnimation
(
this
,
"size"
);
animation
->
setDuration
(
150
);
animation
->
setStartValue
(
this
->
size
());
animation
->
setEndValue
(
viewSize
);
animation
->
start
();
animation
->
start
(
QPropertyAnimation
::
DeleteWhenStopped
);
}
void
GotoSymbolWidget
::
reselectFirst
()
...
...
kate/quickopen/katequickopen.cpp
View file @
e3934f46
...
...
@@ -384,10 +384,10 @@ void KateQuickOpen::updateViewGeometry()
const
QPoint
p
(
xPos
,
yPos
);
move
(
p
+
m_mainWindow
->
pos
());
QPointer
<
QPropertyAnimation
>
animation
=
new
QPropertyAnimation
(
this
,
"size"
);
QPropertyAnimation
*
animation
=
new
QPropertyAnimation
(
this
,
"size"
);
animation
->
setDuration
(
150
);
animation
->
setStartValue
(
this
->
size
());
animation
->
setEndValue
(
viewSize
);
animation
->
start
();
animation
->
start
(
QAbstractAnimation
::
DeleteWhenStopped
);
}
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