summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/encttscfggui.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-03 11:08:18 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-04 23:32:52 +0100
commit4d2ce949b3b41f8bf0af446fa20205ddd229e579 (patch)
tree01fa19471d9831b296bea5d7049f765e38b30bbb /rbutil/rbutilqt/encttscfggui.cpp
parent335ec75d60bba82f23fc47b20f9390e0cba9c9c5 (diff)
downloadrockbox-4d2ce949b3b41f8bf0af446fa20205ddd229e579.tar.gz
rockbox-4d2ce949b3b41f8bf0af446fa20205ddd229e579.tar.bz2
rockbox-4d2ce949b3b41f8bf0af446fa20205ddd229e579.zip
Use cutelogger for Rockbox Utility internal trace.
Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
Diffstat (limited to 'rbutil/rbutilqt/encttscfggui.cpp')
-rw-r--r--rbutil/rbutilqt/encttscfggui.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/encttscfggui.cpp b/rbutil/rbutilqt/encttscfggui.cpp
index 6a51869318..54ec4bc67a 100644
--- a/rbutil/rbutilqt/encttscfggui.cpp
+++ b/rbutil/rbutilqt/encttscfggui.cpp
@@ -32,6 +32,7 @@
#include <QCheckBox>
#include <QProgressDialog>
#include "encttscfggui.h"
+#include "Logger.h"
EncTtsCfgGui::EncTtsCfgGui(QDialog* parent, EncTtsSettingInterface* iface, QString name)
: QDialog(parent)
@@ -174,7 +175,7 @@ QWidget* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
}
default:
{
- qDebug() << "Warning: unknown EncTTsSetting type" << setting->type();
+ LOG_WARNING() << "Warning: unknown EncTTsSetting type" << setting->type();
break;
}
}
@@ -252,7 +253,7 @@ void EncTtsCfgGui::updateSetting()
}
default:
{
- qDebug() << "unknown Settingtype !!";
+ LOG_WARNING() << "unknown setting type!";
break;
}
}
@@ -331,7 +332,7 @@ void EncTtsCfgGui::updateWidget()
}
default:
{
- qDebug() << "unknown EncTTsSetting";
+ LOG_WARNING() << "unknown EncTTsSetting";
break;
}
}