https://bugs.kde.org/show_bug.cgi?id=375776

Safa Alfulaij <safa1996alful...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |FIXED

--- Comment #9 from Safa Alfulaij <safa1996alful...@gmail.com> ---
:-)
3 lines, 3 lines of code.

diff --git a/src/helpers/sshagent.cpp b/src/helpers/sshagent.cpp
index 6e3a9635..e624a6cd 100644
--- a/src/helpers/sshagent.cpp
+++ b/src/helpers/sshagent.cpp
@@ -92,6 +92,9 @@ void SshAgent::askPassEnv()
     qputenv("SSH_ASKPASS", FORCE_ASKPASS);
 #else
     QByteArray pro = BIN_INSTALL_DIR;
+    if (!pro.startsWith('/')) {
+        pro.prepend('/');
+    }
     if (!pro.endsWith('/')) {
         pro.append('/');
     }

>From https://i.imgur.com/6EBFcdV.png to https://i.imgur.com/I6D8ErX.png

Candy for all 🍬🍬

P.S: That's one big promot window..

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to