1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Stop logging every query.

This commit is contained in:
Christian Muehlhaeuser
2012-06-22 02:40:43 +02:00
parent 707a8cb280
commit 6572f9820a
2 changed files with 3 additions and 4 deletions

View File

@@ -88,7 +88,6 @@ TomahawkSqlQuery::exec()
showError();
int e = t.elapsed();
if ( log || e >= QUERY_THRESHOLD )
tLog( LOGSQL ) << "TomahawkSqlQuery::exec (" << t.elapsed() << "ms ):" << lastQuery();

View File

@@ -24,7 +24,7 @@
#include <QSqlDriver>
#include <QSqlQuery>
#define TOMAHAWK_QUERY_ANALYZE 1
//#define TOMAHAWK_QUERY_ANALYZE 1
class TomahawkSqlQuery : public QSqlQuery
{