Replace assert with Q_ASSERT
This commit is contained in:
@@ -84,7 +84,7 @@ void AlbumCoverLoader::ExitAsync() {
|
||||
|
||||
void AlbumCoverLoader::Exit() {
|
||||
|
||||
assert(QThread::currentThread() == thread());
|
||||
Q_ASSERT(QThread::currentThread() == thread());
|
||||
moveToThread(original_thread_);
|
||||
emit ExitFinished();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user