~smspillaz/unity/untiy.less-paint-insanity

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/FilterFactory.cpp

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
namespace dash
45
45
{
46
46
 
47
 
nux::View* FilterFactory::WidgetForFilter(Filter::Ptr const& filter)
 
47
FilterExpanderLabel* FilterFactory::WidgetForFilter(Filter::Ptr const& filter)
48
48
{
49
49
  std::string filter_type(filter->renderer_name);
50
50
  LOG_DEBUG(logger) << "building filter of type, " << filter_type;
51
51
 
52
 
  FilterWidget* widget = nullptr;
 
52
  FilterExpanderLabel* widget = nullptr;
53
53
  if (filter_type == renderer_type_check_options)
54
54
  {
55
55
    widget = new FilterGenre(2, NUX_TRACKER_LOCATION);