4 + for (auto icon : *(pimpl->model_)) {
55 + if (icon->ShowInSwitcher(current)) {
56 + //otherwise we get two desktop icons in the switcher.
57 + if (icon->GetIconType()!=AbstractLauncherIcon::IconType::TYPE_DESKTOP) {
58 + results.push_back(icon);
59 + }
60 + }
61 + }
I'm sorry, maybe you misunderstood me: the brackets should be o new line (plus the != should be spaced and pay attention not to put trailing spaces). So the above code should have been:
for (auto icon : *(pimpl->model_))
{
if (icon->ShowInSwitcher(current))
{
//otherwise we get two desktop icons in the switcher.
if (icon->GetIconType() != AbstractLauncherIcon::IconType::TYPE_DESKTOP)
{
results.push_back(icon);
}
}
}
4 + for (auto icon : *(pimpl->model_)) { ShowInSwitcher( current) ) { GetIconType( )!=AbstractLaun cherIcon: :IconType: :TYPE_DESKTOP) { push_back( icon);
55 + if (icon->
56 + //otherwise we get two desktop icons in the switcher.
57 + if (icon->
58 + results.
59 + }
60 + }
61 + }
I'm sorry, maybe you misunderstood me: the brackets should be o new line (plus the != should be spaced and pay attention not to put trailing spaces). So the above code should have been:
for (auto icon : *(pimpl->model_)) ShowInSwitcher( current) ) GetIconType( ) != AbstractLaunche rIcon:: IconType: :TYPE_DESKTOP) push_back( icon);
{
if (icon->
{
//otherwise we get two desktop icons in the switcher.
if (icon->
{
results.
}
}
}
;)