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

List:       kde-commits
Subject:    kdebase/konsole/konsole
From:       Kurt Hindenburg <kurt.hindenburg () kdemail ! net>
Date:       2005-04-21 16:05:59
Message-ID: 20050421160559.C6AD0651 () office ! kde ! org
[Download RAW message or body]

CVS commit by hindenburg: 

recode schema kdwarnings


  M +4 -7      konsole.cpp   1.535


--- kdebase/konsole/konsole/konsole.cpp  #1.534:1.535
@@ -3278,10 +3278,7 @@ void Konsole::setSchema(int numb, TEWidg
   if (!s)
   {
-        kdWarning() << "No schema found. Using default." << endl;
-        s=(ColorSchema*)colors->at(0);
-  }
-  if (s->numb() != numb)
-  {
-        kdWarning() << "No schema with number " << numb << endl;
+    s = (ColorSchema*)colors->at(0);
+    kdWarning() << "No schema with serial #"<<numb<<", using "<<s->relPath()<<" \
(#"<<s->numb()<<")." << endl; +    s_kconfigSchema = s->relPath();
   }
 
@@ -3299,5 +3296,5 @@ void Konsole::setSchema(const QString & 
   {
      s = (ColorSchema*)colors->at(0);  //the default one
-     kdWarning() << "Could not find schema named " <<path<<"; using \
"<<s->relPath()<<endl; +     kdWarning() << "No schema with the name " <<path<<", \
using "<<s->relPath()<<endl;  s_kconfigSchema = s->relPath();
   }


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

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