debug : scandir do not scan sub-directory

This commit is contained in:
2023-03-18 12:48:39 +01:00
parent 4c52276882
commit cb61f40ee8
3 changed files with 3 additions and 392 deletions
+3 -2
View File
@@ -512,6 +512,7 @@ bool MainWindow::scanDir(QString server, int portN, QTreeWidgetItem *parent, QSt
myProcess->start(cmd, param);
this->rescan = true;
// waiting for response of the server with a timeout of 10 seconds
do
@@ -532,7 +533,6 @@ bool MainWindow::scanDir(QString server, int portN, QTreeWidgetItem *parent, QSt
{
myProcess->readAllStandardOutput();
getUserPassword(&this->connexion);
this->rescan = true;
return 0;
}
@@ -841,7 +841,7 @@ bool MainWindow::getUserPassword(Connexion * object)
//Slot activated when a file is clicked in the treeview
void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadDir)
{
QFileDialog dialog;
//#QFileDialog dialog;
QTreeWidgetItem * itemR;
QString path;
QString str;
@@ -849,6 +849,7 @@ void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadD
int sizeFromRsync;
itemR = item;
this->rescan = true;
// assembling path from treewidget
path = item->text(0);