Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
6bfbfe1c78 | |||
7e736b524e |
@ -2,7 +2,7 @@
|
||||
|
||||
Name: rsyncui
|
||||
Summary: Client for rsync server
|
||||
Version: 2.6
|
||||
Version: 2.6.1
|
||||
Release: %mkrel 1
|
||||
License: GPLv3
|
||||
Group: Networking/Remote access
|
||||
|
@ -627,7 +627,7 @@ QTreeWidgetItem * MainWindow::addTreeChild(QTreeWidgetItem *parent, QString name
|
||||
}else
|
||||
{
|
||||
// item is a file
|
||||
treeItem->setText(1,("File"));
|
||||
treeItem->setText(1,tr("File"));
|
||||
}
|
||||
treeItem->setText(0, name);
|
||||
treeItem->setText(2, fileSize);
|
||||
@ -737,6 +737,7 @@ void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadD
|
||||
path.prepend(itemR->text(0) + "/");
|
||||
};
|
||||
QFileInfo info(this->downloading.savePath + "/" + path);
|
||||
cout << item->text(1).toStdString() <<endl;
|
||||
if (item->text(1) == tr("File") or downloadDir == true)
|
||||
{
|
||||
// Item is a file
|
||||
|
@ -85,7 +85,7 @@ class About
|
||||
{
|
||||
public:
|
||||
QString title = "RsyncUI";
|
||||
QString version = "2.6";
|
||||
QString version = "2.6.1";
|
||||
QString author = "Daniel TARTAVEL-JEANNOT";
|
||||
QString licence = "GPL_V3";
|
||||
QString description;
|
||||
|
Reference in New Issue
Block a user