Commit 2c556d60 authored by Clement CHAVANCE's avatar Clement CHAVANCE
Browse files

removed debug

parent 64f85c02
......@@ -61,7 +61,6 @@ void SettingsManager::setValues( const QString& part, QHash<QString, QVariant>
void SettingsManager::setValue( const QString& part , const QString& key, QVariant& value )
{
//qDebug() << "Setting value " << key << "for" << part;
m_globalLock.lockForRead();
if ( !m_data.contains( part ) )
{
......@@ -76,7 +75,6 @@ void SettingsManager::setValue( const QString& part , const QString& key, QVari
const QVariant& SettingsManager::getValue( const QString& part, const QString& key ) const
{
//qDebug() << "getValue" << part << " key :" << key;
if ( !m_data.contains( part ) )
return getValue( "default", key );
QReadLocker readLock( &m_globalLock );
......@@ -113,7 +111,6 @@ void SettingsManager::saveSettings( const QString& part, QDomDocument& xmlfile,
void SettingsManager::loadSettings( const QString& part, const QDomElement& settings )
{
qDebug() << "Loading settings" << settings.tagName();
if ( settings.isNull() == true || settings.tagName() != "project" )
{
qWarning() << "Invalid settings node";
......
......@@ -46,7 +46,6 @@ void PreferenceWidget::setName( const QString& name )
void PreferenceWidget::loadThemAll( const QString& part,
bool defaults)
{
qDebug() << "part :" << part << "defaults" << defaults;
m_defaults = defaults;
m_settName = part;
load();
......
......@@ -51,7 +51,6 @@ void ProjectPreferences::load()
void ProjectPreferences::save()
{
qDebug() << "save proj" << m_settName;
SettingsManager* settMan = SettingsManager::getInstance();
QVariant name( m_ui.ProjectNameLineEdit->text() );
QVariant dir( m_ui.ProjectDirectoryLineEdit->text() );
......
......@@ -64,7 +64,6 @@ void Settings::addWidget( const QString& name,
const QString& icon,
const QString& label )
{
qDebug() << "Adding Widget" << m_name << " default" << m_defaults;
m_stackedWidgets->addWidget( pWidget );
QObject::connect( this,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment