Details
Details
- Reviewers
stikonas cjlcarvalho - Commits
- R16:5e6b51b5403b: a
R16:3786d5827024: a
R16:ecf9364a7851: a
R16:fe4936ea0a7e: Not working
R16:53b8706bc45b: Add Polkit backend
R16:486a14f9d0f2: [WIP]: Send progress through QDBus from helper towards application
R16:84ee9af2c752: QDBus communication
R16:3ba15be4c356: Helper as standalone application
R16:f2ad2cd0146e: helper
R16:1ed945016178: a
R16:cd004570d6cd: Authorize using Polkit backend, compile Helper as standalone application and…
R16:7efa09411e18: Add Polkit backend final
R16:687beb197f9e: a
Diff Detail
Diff Detail
- Repository
- R16 KPMCore
- Lint
Lint Skipped - Unit
Unit Tests Skipped
There are a very large number of changes, so older changes are hidden. Show Older Changes
src/util/externalcommand_polkitbackend.cpp | ||
---|---|---|
157 | What sets m_result? in the connect call above you simply pass result to QEventLoop's function quit without processing it. |
src/util/externalcommand_polkitbackend.cpp | ||
---|---|---|
97–108 | Why do we need connect to finished signal if in the line above you wait for call to finish with call.waitForFinished() that function blocks until call is done. |
src/util/externalcommand_polkitbackend.cpp | ||
---|---|---|
157 | Actually yes, it is currently broke, however it does not matter, because I am just using this function to show the auth agent and if you notice line 383 externalcommand.cpp, to display some log message. Oh, now I get why it was reporting ""Unable to obtain Administrative privileges, the action can not be executed!!";" |
Comment Actions
- Fix runtime warnings inside initPolkitAgent()
- Use "new" inside ctor to instantiate object
src/util/externalcommand.cpp | ||
---|---|---|
376–377 | Fix this, this will give you infinite recursion. |
Comment Actions
- Use checkAuthorizationSync() to authenticate
- Fix infinite recursion in startHelper()