~mardy/unity-2d/test

« back to all changes in this revision

Viewing changes to panel/applets/appname/menubarwidget.h

  • Committer: Tarmac
  • Author(s): Michał Sawicz
  • Date: 2011-09-16 15:04:35 UTC
  • mfrom: (725.2.2 fix-panel-leak)
  • Revision ID: tarmac-20110916150435-liohjtad85f4bjub
[panel] destroy entries removed from MenuBarWidget

Free memory used by the entries.
Fixes https://bugs.launchpad.net/unity-2d/+bug/850320
Kudos to @fboucault.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
Q_OBJECT
42
42
public:
43
43
    MenuBarWidget(IndicatorsManager*, QWidget* parent = 0);
 
44
    ~MenuBarWidget();
44
45
 
45
46
    bool isEmpty() const;
46
47
    bool isOpened() const;