Remove warning for sql queries on the GUI thread.
This commit is contained in:
parent
29ec96e7b6
commit
bf5245d499
@ -361,11 +361,6 @@ void Song::GuessFileType(TagLib::FileRef* fileref) {
|
||||
}
|
||||
|
||||
void Song::InitFromQuery(const SqlRow& q, int col) {
|
||||
#ifndef QT_NO_DEBUG_OUTPUT
|
||||
if (qApp->thread() == QThread::currentThread())
|
||||
qWarning() << Q_FUNC_INFO << "on GUI thread!";
|
||||
#endif
|
||||
|
||||
d->valid_ = true;
|
||||
|
||||
#define tostr(n) (q.value(n).isNull() ? QString::null : q.value(n).toString())
|
||||
|
Loading…
x
Reference in New Issue
Block a user