forked from pool/krusader
25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
--- krusader/DiskUsage/radialMap/map.cpp
|
|
+++ krusader/DiskUsage/radialMap/map.cpp
|
|
@@ -172,7 +172,7 @@
|
|
{
|
|
case 2000: //HACK for summary view
|
|
|
|
- if( (*it)->file()->name() == "Used" ) {
|
|
+ if( !strcmp((*it)->file()->name(), "Used") ) {
|
|
cb = QApplication::palette().active().color( QColorGroup::Highlight );
|
|
cb.hsv( &h, &s1, &v1 );
|
|
|
|
--- krusader/Konfigurator/kgcolors.cpp 2007/01/09 09:54:28 1.1
|
|
+++ krusader/Konfigurator/kgcolors.cpp 2007/01/09 09:56:34
|
|
@@ -586,7 +586,9 @@
|
|
void KgColors::serializeItem(class QDataStream & stream, const char * name)
|
|
{
|
|
stream << QString(name);
|
|
- if( name == "KDE Default" || name == "Enable Alternate Background" || name == "Show Current Item Always" )
|
|
+ if( (strcmp( name, "KDE Default") == 0)
|
|
+ || (strcmp( name, "Enable Alternate Background") == 0)
|
|
+ || (strcmp( name, "Show Current Item Always") == 0) )
|
|
{
|
|
bool bValue = generals->find( name )->isChecked();
|
|
stream << QString( bValue ? "true" : "false" );
|