summaryrefslogtreecommitdiffstats
path: root/src/polkit-listener.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-12-28 14:28:11 +0900
committerMichele Calgaro <[email protected]>2021-12-28 14:28:11 +0900
commitfa8c5e1b82e6a9e3d6eefc96241efc9371f02a12 (patch)
treef699c8de675ca852af5fcaf0ff82e292845dede0 /src/polkit-listener.cpp
parenta1aaa8e3767232d3d367f4f4221ba45796c4dc6f (diff)
downloadpolkit-agent-tde-fa8c5e1b82e6a9e3d6eefc96241efc9371f02a12.tar.gz
polkit-agent-tde-fa8c5e1b82e6a9e3d6eefc96241efc9371f02a12.zip
Improved GUI dialog presentation.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/polkit-listener.cpp')
-rw-r--r--src/polkit-listener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkit-listener.cpp b/src/polkit-listener.cpp
index efd5261..f58a6c6 100644
--- a/src/polkit-listener.cpp
+++ b/src/polkit-listener.cpp
@@ -178,7 +178,7 @@ void PolkitListener::request(const TQString &request, bool _)
if (m_dialog)
{
m_dialog->setRequest(request, m_selectedUser.isValid() &&
- m_selectedUser.toString() == "unix-user:root");
+ m_selectedUser.toString() == "unix-user:root");
}
}