bug resolved
This commit is contained in:
+6
-6
@@ -120,15 +120,17 @@ class MainWindow : public QMainWindow
|
||||
bool rescan = false;
|
||||
bool stopDlAsked;
|
||||
|
||||
QList<QString> UnitText {
|
||||
QList<QString> UnitText
|
||||
{
|
||||
tr("B"),
|
||||
tr("KB"),
|
||||
tr("MB"),
|
||||
tr("GB"),
|
||||
tr("TB"),
|
||||
tr("PB")
|
||||
};
|
||||
QList<QChar> bwUnitChar{
|
||||
};
|
||||
QList<QChar> bwUnitChar
|
||||
{
|
||||
'K',
|
||||
'M',
|
||||
'T',
|
||||
@@ -152,7 +154,7 @@ class MainWindow : public QMainWindow
|
||||
void listServices();
|
||||
bool validateServer(QString server);
|
||||
bool isIpAddress(QString server);
|
||||
void addTreeItem(QString name, QString fileSize, QString fullsize, QString type, QString date, bool isDir, QTreeWidgetItem *parent);
|
||||
void addTreeItem(QString name, QString fileSize, QString fullsize, QString type, QString date, bool isDir, QString dirName, QTreeWidgetItem *parent);
|
||||
bool scanDir(QString server, int portN, QTreeWidgetItem *parent = NULL, QString path = "" );
|
||||
void startDownloading();
|
||||
void loadSettings();
|
||||
@@ -199,8 +201,6 @@ class MainWindow : public QMainWindow
|
||||
|
||||
void on_actionDownload_triggered();
|
||||
|
||||
//void downloadingErrorSlot(QString);
|
||||
|
||||
void on_comboBox_currentIndexChanged(int index);
|
||||
|
||||
void on_buttonBox_accepted();
|
||||
|
||||
Reference in New Issue
Block a user