From dd41b87d6029d2accd3c32ea71873beefaebb149 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 25 Oct 2013 15:29:53 +0200 Subject: don't flood stderr with each and every qfc Signed-off-by: Stanislaw Halik --- qfunctionconfigurator/functionconfig.cpp | 3 --- qfunctionconfigurator/qfunctionconfigurator.cpp | 5 ----- 2 files changed, 8 deletions(-) diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index f9c9957e..b937d95e 100644 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -16,7 +16,6 @@ #include #include #include -#include // // Constructor with List of Points in argument. @@ -235,8 +234,6 @@ void FunctionConfig::loadSettings(QSettings& settings) { int max = settings.value("point-count", 0).toInt(); - qDebug() << _title << "count" << max; - for (int i = 0; i < max; i++) { newPoint = QPointF(settings.value(QString("point-%1-x").arg(i), (i + 1) * _max_Input/2).toFloat(), settings.value(QString("point-%1-y").arg(i), (i + 1) * _max_Output/2).toFloat()); diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index 1d401ddd..afd6561b 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -69,7 +69,6 @@ void QFunctionConfigurator::setConfig(FunctionConfig* config, QString settingsFi strSettingsFile = settingsFile; // Remember for Reset() - qDebug() << "QFunctionConfigurator::setConfig" << config->getTitle(); setCaption(config->getTitle()); _draw_function = _draw_background = true; @@ -83,7 +82,6 @@ void QFunctionConfigurator::loadSettings(QString settingsFile) { QSettings iniFile( settingsFile, QSettings::IniFormat ); // Application settings (in INI-file) strSettingsFile = settingsFile; // Remember for Reset() - qDebug() << "QFunctionConfigurator::loadSettings = " << settingsFile; if (_config) { _config->loadSettings(iniFile); } @@ -95,7 +93,6 @@ void QFunctionConfigurator::loadSettings(QString settingsFile) { void QFunctionConfigurator::saveSettings(QString settingsFile) { QSettings iniFile( settingsFile, QSettings::IniFormat ); // Application settings (in INI-file) strSettingsFile = settingsFile; // Remember for Reset() - qDebug() << "QFunctionConfigurator::saveSettings = " << settingsFile; if (_config) { _config->saveSettings(iniFile); @@ -617,8 +614,6 @@ void QFunctionConfigurator::resizeEvent(QResizeEvent *) { range = QRectF(40, 20, MaxInput * pPerEGU_Input, MaxOutput * pPerEGU_Output); - qDebug() << "QFunctionConfigurator::resizeEvent, name = " << strCaption << ",range = " << range; - _draw_background = true; _draw_function = true; repaint(); -- cgit v1.2.3