Skip to content
Snippets Groups Projects
Commit 87e7ee3c authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Jean-Baptiste Kempf
Browse files

qt: reduce custom cover default size

saves memory
parent 375dd232
No related branches found
No related tags found
1 merge request!1983qt: use in-memory caching for custom ml covers
......@@ -28,9 +28,9 @@
//-------------------------------------------------------------------------------------------------
// Static variables
// NOTE: We multiply by 2 to cover most dpi settings.
static const int MLGENREMODEL_COVER_WIDTH = 260 * 2;
static const int MLGENREMODEL_COVER_HEIGHT = 130 * 2;
// NOTE: We multiply by 3 to cover most dpi settings.
static const int MLGENREMODEL_COVER_WIDTH = 260 * 3;
static const int MLGENREMODEL_COVER_HEIGHT = 130 * 3;
static const int MLGENREMODEL_COVER_COUNTX = 4;
static const int MLGENREMODEL_COVER_COUNTY = 2;
......
......@@ -37,9 +37,9 @@
namespace {
// NOTE: We multiply by 2 to cover most dpi settings.
const int MLPLAYLISTMODEL_COVER_WIDTH = 512 * 2; // 16 / 10 ratio
const int MLPLAYLISTMODEL_COVER_HEIGHT = 320 * 2;
// NOTE: We multiply by 3 to cover most dpi settings.
const int MLPLAYLISTMODEL_COVER_WIDTH = 260 * 3; // 16 / 10 ratio
const int MLPLAYLISTMODEL_COVER_HEIGHT = 162 * 3;
const int PLAYLIST_COVERX = 2;
const int PLAYLIST_COVERY = 2;
......
......@@ -36,9 +36,9 @@
// Static variables
// NOTE: We multiply by 2 to cover most dpi settings.
static const int MLVIDEOFOLDERSMODEL_COVER_WIDTH = 512 * 2; // 16 / 10 ratio
static const int MLVIDEOFOLDERSMODEL_COVER_HEIGHT = 320 * 2;
// NOTE: We multiply by 3 to cover most dpi settings.
static const int MLVIDEOFOLDERSMODEL_COVER_WIDTH = 260 * 3; // 16 / 10 ratio
static const int MLVIDEOFOLDERSMODEL_COVER_HEIGHT = 162 * 3;
static const QHash<QByteArray, vlc_ml_sorting_criteria_t> criterias =
{
......
......@@ -38,9 +38,9 @@
//-------------------------------------------------------------------------------------------------
// Static variables
// NOTE: We multiply by 2 to cover most dpi settings.
static const int MLVIDEOGROUPSMODEL_COVER_WIDTH = 512 * 2; // 16 / 10 ratio
static const int MLVIDEOGROUPSMODEL_COVER_HEIGHT = 320 * 2;
// NOTE: We multiply by 3 to cover most dpi settings.
static const int MLVIDEOGROUPSMODEL_COVER_WIDTH = 260 * 3; // 16 / 10 ratio
static const int MLVIDEOGROUPSMODEL_COVER_HEIGHT = 162 * 3;
static const QHash<QByteArray, vlc_ml_sorting_criteria_t> criterias =
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment