Clean up thread usage

This commit is contained in:
Jonah Brüchert committed 2021-03-15 15:46:13 +01:00
1 parent 81f89f6b1b
commit cdcb3eefe4
9 files changed
+65 -54

No files matched your search

+1 -1
View File
@@ -9,5 +9,5 @@
ErrorHandler::ErrorHandler(QObject *parent)
: QObject(parent)
{
connect(&AsyncYTMusic::instance(), &AsyncYTMusic::errorOccurred, this, &ErrorHandler::errorOccurred);
connect(&YTMusicThread::instance().get(), &AsyncYTMusic::errorOccurred, this, &ErrorHandler::errorOccurred);
}