~canonical-dx-team/unity/unity.fix-ql-losing-focus

« back to all changes in this revision

Viewing changes to src/SimpleLauncherIcon.cpp

  • Committer: Michael Terry
  • Date: 2010-12-17 14:07:11 UTC
  • mfrom: (724 unity)
  • mto: This revision was merged to the branch mainline in revision 743.
  • Revision ID: mike@mterry.name-20101217140711-qlij3bxdjuq1xoph
mergeĀ fromĀ upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "SimpleLauncherIcon.h"
24
24
#include "Launcher.h"
 
25
#include "PluginAdapter.h"
25
26
 
26
27
SimpleLauncherIcon::SimpleLauncherIcon (Launcher* IconManager)
27
28
:   LauncherIcon(IconManager)
55
56
void
56
57
SimpleLauncherIcon::OnMouseClick (int button)
57
58
{
 
59
  if (button == 1)
 
60
    PluginAdapter::Default ()->TerminateScale ();
58
61
}
59
62
 
60
63
void