~attente/unity/hud-controller-gvariant-type-error

« back to all changes in this revision

Viewing changes to dash/previews/ActionButton.cpp

  • Committer: Marco Trevisan (Treviño)
  • Date: 2013-11-14 03:00:29 UTC
  • mto: This revision was merged to the branch mainline in revision 3596.
  • Revision ID: mail@3v1n0.net-20131114030029-jw6albd1rccg1uzm
Unity: always prefer passing [this] to lambdas than [&]

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
{
77
77
  InitTheme();
78
78
 
79
 
  key_nav_focus_activate.connect([&](nux::Area*)
 
79
  key_nav_focus_activate.connect([this](nux::Area*)
80
80
  {
81
81
    if (GetInputEventSensitivity())
82
82
      activate.emit(this, action_hint_);