try to index media immediately on import
Since indexing is supplemental, it can be made a background task that can occur at more or less any time. So we run it as soon as possible.
This commit is contained in:
@@ -41,16 +41,7 @@ class TaskViewItem : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
TaskViewItem(QWidget* parent);
|
||||
|
||||
/**
|
||||
* @brief Connects a Task to this object
|
||||
*
|
||||
* If a Task has already been connected, this will disconnect this TaskViewItem from the previously connected
|
||||
* Task before connecting to the next one - however there are very few circumstances where this would be necessary
|
||||
* since TaskViewItem is designed to delete itself when a Task is complete.
|
||||
*/
|
||||
void SetTask(Task* t);
|
||||
TaskViewItem(Task *task, QWidget* parent = nullptr);
|
||||
|
||||
private:
|
||||
QLabel* task_name_lbl_;
|
||||
@@ -60,9 +51,6 @@ private:
|
||||
|
||||
Task* task_;
|
||||
|
||||
private slots:
|
||||
void TaskStatusChange(Task::Status status);
|
||||
|
||||
};
|
||||
|
||||
#endif // TASKVIEWITEM_H
|
||||
|
||||
Reference in New Issue
Block a user