summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorDiana <iaz3@users.noreply.github.com>2018-05-18 07:45:13 -0400
committerDiana <iaz3@users.noreply.github.com>2018-05-18 07:45:13 -0400
commit6617be8ef9a015dd4109729155fc9a772997b5ed (patch)
treeab024e4423c898fa94ce2eeceba3d29f7977433a /src/installationmanager.cpp
parent5a5bfee7126313608d37d533ea98bca9489fa5dc (diff)
Fix a memory leak in updateToolBar
updateToolBar was creating new QActions and QWidgets every call, without cleaning them up. The spacer, help widgets, and toolbuttons only need to be created once. Those have been moved out into the MainWindow constructor updateToolBar is called in various places, importantly when adding/removing executable shortcuts. Also adds a deleteLater() call to clean up executable shortcut actions.
Diffstat (limited to 'src/installationmanager.cpp')
0 files changed, 0 insertions, 0 deletions