mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
@@ -562,6 +562,7 @@ LibrarySearchDialog::search()
|
||||
} else {
|
||||
|
||||
QTreeWidgetItem *item = searchPathTable->invisibleRootItem()->child(pathIndex);
|
||||
if (!item) return; // avoid crash
|
||||
QString path = item->text(0);
|
||||
searcher = new LibrarySearch(path, findMedia->isChecked(), findWorkouts->isChecked(), findVideoSyncs->isChecked());
|
||||
}
|
||||
@@ -574,6 +575,7 @@ LibrarySearchDialog::search()
|
||||
mediaCount->setText(QString("%1").arg(videoCountN));
|
||||
videosyncCount->setText(QString("%1").arg(videosyncCountN));
|
||||
QTreeWidgetItem *item = searchPathTable->invisibleRootItem()->child(pathIndex);
|
||||
if (!item) return; // avoid crash
|
||||
QString path = item->text(0);
|
||||
searcher = new LibrarySearch(path, findMedia->isChecked(), findWorkouts->isChecked(), findVideoSyncs->isChecked());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user