diff options
| author | 2009-09-01 22:12:36 +0000 | |
|---|---|---|
| committer | 2009-09-01 22:12:36 +0000 | |
| commit | ea06d9bbbd8d8ef75034bfc3f62838f193537984 (patch) | |
| tree | a437eeabaa4b3d09f3313a6b0dd07b5bb961749d /src/modules/objects/class_widget.cpp | |
| parent | updated splash screen (diff) | |
| download | KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.tar.gz KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.tar.bz2 KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.zip | |
- trailing whitespace cleanups all over the place
- removed charset dependent manpages since it really makes no sense to distribute them, they are getting installed in non standard places and one manpage per language is enough
- added SpotChat to the serverdb, happens to be my network anyway :P (someone should remind me to check all the networks and servers there so we can do a cleanup if needed
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3463 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_widget.cpp')
| -rw-r--r-- | src/modules/objects/class_widget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp index 5d7623b3f..168524764 100644 --- a/src/modules/objects/class_widget.cpp +++ b/src/modules/objects/class_widget.cpp @@ -1228,7 +1228,7 @@ KVSO_CLASS_FUNCTION(widget,setPaletteForeground) } else { - QColor color; + QColor color; if (c->params()->count()==1) { if(pColArray->isString()) @@ -1239,7 +1239,7 @@ KVSO_CLASS_FUNCTION(widget,setPaletteForeground) color.setNamedColor(szColor); if (!color.isValid()) { - // itsn't a color name: let try with an hex triplette + // itsn't a color name: let try with an hex triplette color.setNamedColor("#"+szColor); if (!color.isValid()) { @@ -1251,7 +1251,7 @@ KVSO_CLASS_FUNCTION(widget,setPaletteForeground) else { c->warning(__tr2qs_ctx("Not a valid color !","objects")); return true; - } + } QPalette p = widget()->palette(); p.setColor(widget()->foregroundRole(), color); widget()->setPalette(p); @@ -1310,7 +1310,7 @@ KVSO_CLASS_FUNCTION(widget,setBackgroundColor) } else { - QColor color; + QColor color; if (c->params()->count()==1) { if(pColArray->isString()) @@ -1321,7 +1321,7 @@ KVSO_CLASS_FUNCTION(widget,setBackgroundColor) color.setNamedColor(szColor); if (!color.isValid()) { - // itsn't a color name: let try with an hex triplette + // itsn't a color name: let try with an hex triplette color.setNamedColor("#"+szColor); if (!color.isValid()) { @@ -1333,7 +1333,7 @@ KVSO_CLASS_FUNCTION(widget,setBackgroundColor) else { c->warning(__tr2qs_ctx("Not a valid color !","objects")); return true; - } + } QPalette p = widget()->palette(); p.setColor(widget()->backgroundRole(), color); widget()->setPalette(p); |
