Merge lp:~mardy/signon-ui/unity-crash-1673984 into lp:signon-ui

Proposed by Alberto Mardegan
Status: Merged
Approved by: David Barth
Approved revision: 148
Merged at revision: 148
Proposed branch: lp:~mardy/signon-ui/unity-crash-1673984
Merge into: lp:signon-ui
Diff against target: 12 lines (+1/-1)
1 file modified
src/request.cpp (+1/-1)
To merge this branch: bzr merge lp:~mardy/signon-ui/unity-crash-1673984
Reviewer Review Type Date Requested Status
Online Accounts Pending
Review via email: mp+320309@code.launchpad.net

Commit message

Update for Unity7 session renaming.

Description of the change

Update for Unity7 session renaming.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/request.cpp'
--- src/request.cpp 2016-11-02 13:14:54 +0000
+++ src/request.cpp 2017-03-20 09:02:21 +0000
@@ -266,7 +266,7 @@
266#ifdef USE_UBUNTU_WEB_VIEW266#ifdef USE_UBUNTU_WEB_VIEW
267 TRACE() << "Platform:" << QGuiApplication::platformName();267 TRACE() << "Platform:" << QGuiApplication::platformName();
268 if (QGuiApplication::platformName().startsWith("ubuntu") ||268 if (QGuiApplication::platformName().startsWith("ubuntu") ||
269 qgetenv("XDG_CURRENT_DESKTOP") == QByteArray("Unity") ||269 qgetenv("XDG_CURRENT_DESKTOP").startsWith("Unity") ||
270 qgetenv("SSOUI_USE_UBUNTU_WEB_VIEW") == QByteArray("1")) {270 qgetenv("SSOUI_USE_UBUNTU_WEB_VIEW") == QByteArray("1")) {
271 return new UbuntuBrowserRequest(connection, message,271 return new UbuntuBrowserRequest(connection, message,
272 parameters, parent);272 parameters, parent);

Subscribers

People subscribed via source and target branches

to all changes: