Merge lp:~larryprice/libertine-scope/fix-desktop-scope-load into lp:libertine-scope
Proposed by
Larry Price
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Christopher Townsend | ||||
Approved revision: | 53 | ||||
Merged at revision: | 60 | ||||
Proposed branch: | lp:~larryprice/libertine-scope/fix-desktop-scope-load | ||||
Merge into: | lp:libertine-scope | ||||
Diff against target: |
95 lines (+11/-10) 4 files modified
scope/apps/libertine.cpp (+1/-2) scope/apps/libertine.h (+1/-1) scope/apps/query.cpp (+7/-5) scope/apps/query.h (+2/-2) |
||||
To merge this branch: | bzr merge lp:~larryprice/libertine-scope/fix-desktop-scope-load | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Libertine CI Bot | continuous-integration | Approve | |
Christopher Townsend | Approve | ||
Review via email: mp+301383@code.launchpad.net |
Commit message
Initialize libertine object in Query::run() to allow constructor to execute in time.
Description of the change
Initialize libertine object in Query::run() to allow constructor to execute in time.
This fixes the desktop unity8 libertine-scope requiring a refresh because the ctor was taking to long to finish. I changed Libertine::UPtr to be a shared_ptr so I could pass the object to other functions (the unique_ptr copy ctor is deleted for obvious reasons).
To post a comment you must log in.
I was never able to reproduce the bug, so I cannot test for that. However, the code looks good and it still works. +1