~unity-team/unity8/fix-1238232

« back to all changes in this revision

Viewing changes to plugins/Unity/Indicators/rootactionstate.h

  • Committer: Michael Terry
  • Author(s): Nick Dedekind
  • Date: 2013-10-11 16:06:27 UTC
  • mfrom: (411.5.6 lp1236249)
  • Revision ID: michael.terry@canonical.com-20131011160627-djmnbt9igvrkmkoa
Only use the root action state as a unitymenumodel ActionStateParser when needed.

Approved by Michael Terry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
    void onModelRowsAdded(const QModelIndex& parent, int start, int end);
78
78
    void onModelRowsRemoved(const QModelIndex& parent, int start, int end);
79
79
    void onModelDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector<int>&);
 
80
    void reset();
80
81
 
81
82
private:
82
83
    void updateActionState();