lp:~aacid/unity-scopes-shell/misc_fixes

Created by Albert Astals Cid and last modified
Get this branch:
bzr branch lp:~aacid/unity-scopes-shell/misc_fixes
Only Albert Astals Cid can upload to this branch. If you are Albert Astals Cid please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Albert Astals Cid
Project:
unity-scopes-shell
Status:
Merged

Recent revisions

356. By Albert Astals Cid

Misc fixes

preview-widget.h
optionselectoroptions.h
 Forward declare as struct as it is really a struct when defined

overviewscope.cpp
 Save creating a list with all the values since foreach knows how to properly iterate a map/hash

settingsmodel.cpp
resultstest.cpp
 Don't create an object we never use

mock-scope-departments.cpp
/mock-scope.cpp
 Mark function as override

355. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

354. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

353. By CI Train Bot Account

Releasing 0.5.8+17.04.20161115.3-0ubuntu1

352. By Michael Terry

Handle running inside a snap by paying attention to the $SNAP prefix. (LP: #1629009)

Approved by: Marcus Tomlinson, unity-api-1-bot

351. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

350. By CI Train Bot Account

Releasing 0.5.8+16.10.20161004-0ubuntu1

349. By Marcus Tomlinson

Don't make changes to the settings model from a separate thread. (LP: #1627795)

348. By Albert Astals Cid

Save creating/destroying a QSharedPointer

It's not much but it's a free optimization anyway

Approved by: Paweł Stołowski

347. By Albert Astals Cid

Optimize ResultsModel::data a bit

Do the role to component string early in ::setComponentsMapping instead of every time in ::data
This way we do not need to create temporary strings every time ::data gets called

Also since we know there's a finite amount of roles, store the role->string mapping in a vector instead of a map/hash

Approved by: Marcus Tomlinson

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:unity-scopes-shell
This branch contains Public information 
Everyone can see this information.