MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / loadCommonImages

Method loadCommonImages

pcsx2-qt/GameList/GameListModel.cpp:523–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void GameListModel::loadCommonImages()
524{
525 loadThemeSpecificImages();
526
527 const QString base_path(QtHost::GetResourcesBasePath());
528 for (u32 rating = 1; rating < GameList::CompatibilityRatingCount; rating++)
529 m_compatibility_pixmaps[rating] = QIcon((QStringLiteral("%1/icons/star-%2.svg").arg(base_path).arg(rating - 1))).pixmap(QSize(88, 16), m_dpr);
530
531 m_placeholder_pixmap.load(QStringLiteral("%1/cover-placeholder.png").arg(base_path));
532}
533
534void GameListModel::setColumnDisplayNames()
535{

Callers

nothing calls this directly

Calls 3

QIconClass · 0.85
argMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected