fixed a few icons and sizeHint functions. Removed unused SFListDelegate files from compilation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-06-29 16:08:17 +00:00
parent 18df09e032
commit ebc8bb072c
38 changed files with 266 additions and 227 deletions

View file

@ -252,6 +252,10 @@ int RshareSettings::getToolButtonSize()
return 24;
case 32:
return 32;
case 64:
return 64 ;
case 128:
return 128 ;
}
}
@ -272,7 +276,14 @@ void RshareSettings::setToolButtonSize(int size)
break;
case 32:
setValue(SETTING_TOOLBUTTONSIZE, 32);
}
break;
case 64:
setValue(SETTING_TOOLBUTTONSIZE, 64);
break;
case 128:
setValue(SETTING_TOOLBUTTONSIZE, 128);
break;
}
}
/** Gets the list item icon's size.*/
@ -290,7 +301,11 @@ int RshareSettings::getListItemIconSize()
return 24;
case 32:
return 32;
}
case 64:
return 64;
case 128:
return 128;
}
}
/** Sets the list item icon's size.*/
@ -310,7 +325,14 @@ void RshareSettings::setListItemIconSize(int size)
break;
case 32:
setValue(SETTING_LISTITEMICONSIZE, 32);
}
break ;
case 64:
setValue(SETTING_LISTITEMICONSIZE, 64);
break ;
case 128:
setValue(SETTING_LISTITEMICONSIZE, 128);
break ;
}
}
static QString getKeyForLastDir(RshareSettings::enumLastDir type)