Merge lp:~mikemc/ubuntu-sso-client/fix-1010102 into lp:ubuntu-sso-client
Proposed by
Mike McCracken
Status: | Merged |
---|---|
Approved by: | Roberto Alsina |
Approved revision: | no longer in the source branch. |
Merged at revision: | 965 |
Proposed branch: | lp:~mikemc/ubuntu-sso-client/fix-1010102 |
Merge into: | lp:ubuntu-sso-client |
Diff against target: |
12 lines (+1/-1) 1 file modified
bin/ubuntu-sso-login (+1/-1) |
To merge this branch: | bzr merge lp:~mikemc/ubuntu-sso-client/fix-1010102 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Roberto Alsina (community) | Approve | ||
Review via email: mp+109193@code.launchpad.net |
Commit message
- fixes bug with loading incorrect plugins caused by ignoring qt.conf ( LP #1010102 )
Description of the change
- fixes bug with loading incorrect plugins caused by ignoring qt.conf ( LP #1010102 )
Long description for short change:
The QApplication instance created in the ubuntu-sso-login is not retained, so it is garbage collected before the search for qt.conf happens.
The qt.conf search code uses the existence of a QApplication to tell if it should look for qt.conf in the application bundle, so the result is that it doesn't find a qt.conf, uses the default plugin search path, and loads plugins that link to the system Qt libraries instead of the bundled ones, which is bad.
To post a comment you must log in.
+1 trivial