~agateau/plasma-widget-menubar/trunk

« back to all changes in this revision

Viewing changes to src/menuwidget.cpp

  • Committer: Aurélien Gâteau
  • Date: 2012-04-03 10:26:12 UTC
  • Revision ID: aurelien.gateau@canonical.com-20120403102612-9fqtcxulb1wc2yc7
Doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
    if (mCurrentButton) {
235
235
        bool justHide = mCurrentButton == button;
236
236
        mCurrentButton->menu()->hide();
 
237
        // Note: When we reach this line mCurrentButton is 0: it has been
 
238
        // updated by slotAboutToHideMenu().
237
239
        if (justHide) {
238
240
            return;
239
241
        }