[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/noatun/modules/metatag
From:       Stefan Gehn <sgehn () gmx ! net>
Date:       2003-07-12 13:53:39
[Download RAW message or body]

CVS commit by metz: 

use proper debug-area


  M +27 -27    edit.cpp   1.9
  M +1 -2      metatag.cpp   1.18


--- kdemultimedia/noatun/modules/metatag/edit.cpp  #1.8:1.9
@@ -146,5 +146,5 @@ void Editor::saveControl(KFileMetaInfo& 
      if (info->groupInfo(group)->itemInfo(meta_widget.key)) {
         if (info->groupInfo(group)->attributes() & KFileMimeTypeInfo::Addable) {
-            kdDebug() << "Adding group " << group << endl;
+            kdDebug(66666) << "Adding group " << group << endl;
             if (!meta_info.addGroup(group))
                 kdWarning() << "Adding group \"" << group << "\" failed!" << endl;
@@ -152,5 +152,5 @@ void Editor::saveControl(KFileMetaInfo& 
 
         if (info->groupInfo(group)->itemInfo(meta_widget.key)->attributes() & \
                KFileMimeTypeInfo::Addable) {
-            kdDebug() << "Adding key " << meta_widget.key << endl;
+            kdDebug(66666) << "Adding key " << meta_widget.key << endl;
             if (!meta_info.group(group).addItem(meta_widget.key).isValid())
                 kdWarning() << "Adding key \"" << meta_widget.key << "\" failed!" << \
endl; @@ -215,5 +215,5 @@ MetaWidget* Editor::createControl(KFileM
                         QIntValidator *int_validator = static_cast<QIntValidator \
*>(validator);  
-                        // XXX: Why the -hell- doesn't QSpinBox::setValidator() do \
this?? +                // FIXME: Why the -hell- doesn't QSpinBox::setValidator() do \
this??  box->setMinValue(int_validator->bottom());
                         box->setMaxValue(int_validator->top());
@@ -292,8 +292,8 @@ bool Editor::keyAddable(const KFileMetaI
     QStringList groups = info->supportedGroups();
 
-    kdDebug() << "Testing if " << key << " is addable" << endl;
+    kdDebug(66666) << "Testing if " << key << " is addable" << endl;
     for (QStringList::Iterator it = groups.begin();it != groups.end();++it) {
         if (info->groupInfo(*it)->supportsVariableKeys()) {
-            kdDebug() << "Group " << *it << " supports variable keys" << endl;
+            kdDebug(66666) << "Group " << *it << " supports variable keys" << endl;
             return true;
         }
@@ -301,5 +301,5 @@ bool Editor::keyAddable(const KFileMetaI
         if (info->groupInfo(*it)->itemInfo(key)) {
             if (info->groupInfo(*it)->attributes() & KFileMimeTypeInfo::Addable) {
-                 kdDebug() << "Group " << *it << " is addable" << endl;
+                 kdDebug(66666) << "Group " << *it << " is addable" << endl;
                  return true;
             }

--- kdemultimedia/noatun/modules/metatag/metatag.cpp  #1.17:1.18
@@ -46,5 +46,5 @@ void MetaTagLoader::editTag()
         PlaylistItem i = napp->player()->current();
 
-        if ( !i )
+        if(!i)
                 return;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic