Compare commits

...

2 Commits

4 changed files with 36 additions and 20 deletions

View File

@ -2,7 +2,7 @@
Name: rsyncui
Summary: Client for rsync server
Version: 2.12.6
Version: 2.12.7
Release: %mkrel 1
License: GPLv3
Group: Networking/Remote access

View File

@ -1144,7 +1144,7 @@ void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadD
if (item->isExpanded() == false)
{
info(DEBUGMACRO, "Item is not expanded");
while (this->rescan)
if (this->rescan)
{
info(DEBUGMACRO, "Re-scanning path: " + this->connexion.service + "/" + path +"/");
scanDir(&this->connexion, item, this->connexion.service + "/" + path +"/");
@ -1606,3 +1606,15 @@ void MainWindow::on_actionHiddenService_triggered()
preparePopulateTree();
}
}
void MainWindow::on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
{
void();
}
void MainWindow::on_treeWidget_doubleClicked(const QModelIndex &index)
{
void();
}

View File

@ -51,7 +51,7 @@ extern QMap<int, QString> rsyncErrorStrings;
class Connexion
{
public:
public:
int bandwidthLimit = 0;
int bandwidthLimitUnit;
int contimeout = 20;
@ -70,7 +70,7 @@ class Connexion
class Downloading
{
public:
public:
QString server;
QString service;
QString path;
@ -86,7 +86,7 @@ class Downloading
class About
{
public:
public:
QString version;
QString author = "Daniel TARTAVEL-JEANNOT";
QString licence = "GPL_V3";
@ -99,7 +99,7 @@ class MainWindow : public QMainWindow
{
Q_OBJECT
public:
public:
Ui::MainWindow *ui;
MainWindow(QWidget *parent = nullptr);
~MainWindow();
@ -124,20 +124,20 @@ class MainWindow : public QMainWindow
QList<QString> UnitText
{
tr("B"),
tr("KB"),
tr("MB"),
tr("GB"),
tr("TB"),
tr("PB")
tr("B"),
tr("KB"),
tr("MB"),
tr("GB"),
tr("TB"),
tr("PB")
};
QList<QChar> bwUnitChar
{
'K',
'M',
'T',
'G',
'P'
'K',
'M',
'T',
'G',
'P'
};
QVector<QString> downloadProcessErrorString =
@ -175,7 +175,7 @@ class MainWindow : public QMainWindow
void passwordStore (QString account, QString password);
QString passwordGet (QString account);
private slots:
private slots:
void on_listWidget_clicked();
@ -219,7 +219,11 @@ class MainWindow : public QMainWindow
//void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
signals:
void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
void on_treeWidget_doubleClicked(const QModelIndex &index);
signals:
void stopDownloading(QProcess *);
void progressSignal(int);
void speed(QString);

View File

@ -3,6 +3,6 @@
#include <QString>
QString version = "2.12.6";
QString version = "2.12.7";
#endif // VERSION_H