Remove warning for sql queries on the GUI thread.

This commit is contained in:
John Maguire 2010-08-31 18:46:00 +00:00
parent 29ec96e7b6
commit bf5245d499

View File

@ -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())