[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [partitionmanager] src/util: Add a note about kdesu configuration
From:       Andrius_Å tikonas <null () kde ! org>
Date:       2017-05-31 20:50:06
Message-ID: E1dGAZC-0005hI-QR () code ! kde ! org
[Download RAW message or body]

Git commit 42fc14cad135139f2d555287b11d1c7df8745bd2 by Andrius Å tikonas.
Committed on 31/05/2017 at 20:49.
Pushed by stikonas into branch 'master'.

Add a note about kdesu configuration

M  +5    -2    src/util/guihelpers.cpp

https://commits.kde.org/partitionmanager/42fc14cad135139f2d555287b11d1c7df8745bd2

diff --git a/src/util/guihelpers.cpp b/src/util/guihelpers.cpp
index dda3717..faafd57 100644
--- a/src/util/guihelpers.cpp
+++ b/src/util/guihelpers.cpp
@@ -86,12 +86,15 @@ bool checkPermissions()
                 "<para><warning>You do not have administrative \
                privileges.</warning></para>"
                 "<para>It is possible to run <application>%1</application> without \
                these privileges. "
                 "You will, however, <emphasis>not</emphasis> be allowed to apply \
                operations.</para>"
-                "<para>Do you want to continue running \
<application>%1</application>?</para>", +                "<para>Do you want to \
continue running <application>%1</application>?</para>" +                \
"<para><note>If administrator login is disabled and your password is " +              \
"not accepted, then check <command>kdesu</command> " +                "<link \
url='https://wiki.archlinux.org/index.php/sudo#kdesu'>configuration</link>.</note></para>",
  QGuiApplication::applicationDisplayName()),
                 xi18nc("@title:window", "No administrative privileges"),
                 KGuiItem(xi18nc("@action:button", "Run without administrative \
privileges"), QStringLiteral("arrow-right")),  KStandardGuiItem::cancel(),
-                QStringLiteral("runWithoutRootPrivileges")) == \
KMessageBox::Continue; +                QStringLiteral("runWithoutRootPrivileges"), \
KMessageBox::AllowLink) == KMessageBox::Continue;  }
 
     return true;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic