Merge lp:~mikemc/ubuntu-sso-client/fix-1010102 into lp:ubuntu-sso-client
| Status: | Merged |
|---|---|
| Approved by: | Roberto Alsina on 2012-06-07 |
| 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) | 2012-06-07 | Approve on 2012-06-07 | |
|
Review via email:
|
|||
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.
- 965. By Mike McCracken on 2012-06-07
-
- fixes bug with loading incorrect plugins caused by ignoring qt.conf ( LP #1010102 )

+1 trivial