Corrected:\n- bug on ipv6\n- bug on saving settings
This commit is contained in:
+2
-1
@@ -52,7 +52,7 @@ void MainWindow::download()
|
||||
{
|
||||
info(DEBUGMACRO, "Adding user to server (user@server");
|
||||
this->downloading.user = this->connexion.user;
|
||||
server = this->connexion.user + "@" + this->downloading.server;
|
||||
server = this->connexion.user + "@" + "[" + this->downloading.server + "]";
|
||||
env.insert("RSYNC_PASSWORD", this->downloading.password); // Add an environment variable
|
||||
this->downloading.process->setProcessEnvironment(env);
|
||||
}
|
||||
@@ -102,6 +102,7 @@ void MainWindow::readRsyncOutput()
|
||||
{
|
||||
list.clear();
|
||||
line = QString::fromUtf8(this->downloading.process->readLine());
|
||||
info(DEBUGMACRO, "downloading progress : " + line);
|
||||
if (line.isEmpty())
|
||||
{
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user