resolved blocking bug when double-click on an item in file treeview
This commit is contained in:
parent
fb126c8b66
commit
afe4c6e9c9
@ -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();
|
||||
}
|
||||
|
||||
|
@ -219,6 +219,10 @@ class MainWindow : public QMainWindow
|
||||
|
||||
//void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
||||
|
||||
void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
||||
|
||||
void on_treeWidget_doubleClicked(const QModelIndex &index);
|
||||
|
||||
signals:
|
||||
void stopDownloading(QProcess *);
|
||||
void progressSignal(int);
|
||||
|
Loading…
Reference in New Issue
Block a user