mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 23:00:56 -04:00
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:
parent
18df09e032
commit
ebc8bb072c
38 changed files with 266 additions and 227 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue