Merge lp:~ricmm/qtpowerd/use-pid-for-name into lp:qtpowerd

Proposed by Ricardo Mendoza
Status: Merged
Approved by: Loïc Minier
Approved revision: 8
Merged at revision: 8
Proposed branch: lp:~ricmm/qtpowerd/use-pid-for-name
Merge into: lp:qtpowerd
Diff against target: 11 lines (+1/-1)
1 file modified
QtPowerd.cpp (+1/-1)
To merge this branch: bzr merge lp:~ricmm/qtpowerd/use-pid-for-name
Reviewer Review Type Date Requested Status
Loïc Minier Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+191052@code.launchpad.net

Commit message

Use pid to construct lock name

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Loïc Minier (lool) wrote :

Binaries provided by Ricardo Mendoza fix mediaplayer-app for me with this branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'QtPowerd.cpp'
--- QtPowerd.cpp 2013-10-14 18:53:23 +0000
+++ QtPowerd.cpp 2013-10-14 21:02:53 +0000
@@ -46,7 +46,7 @@
46 "com.canonical.powerd",46 "com.canonical.powerd",
47 QDBusConnection::SM_BUSNAME(), this);47 QDBusConnection::SM_BUSNAME(), this);
4848
49 m_lockName = QGuiApplication::instance()->applicationName();49 m_lockName = QString::number(QGuiApplication::instance()->applicationPid());
50 m_lockName.append("-background");50 m_lockName.append("-background");
51}51}
5252

Subscribers

People subscribed via source and target branches