switched all explicit pixmap from files to shared FilesDefs::getPixmapFromQtResourcePath()

This commit is contained in:
csoler 2020-08-19 16:19:42 +02:00
parent f8989ce944
commit 76511479af
90 changed files with 275 additions and 225 deletions

View file

@ -281,7 +281,7 @@ void PulseDataItem::showPulse()
if (!headshotOkay)
{
// default.
QPixmap pixmap = QPixmap(":/icons/png/posted.png").scaled(50,50);
QPixmap pixmap = FilesDefs::getPixmapFromQtResourcePath(":/icons/png/posted.png").scaled(50,50);
setHeadshot(pixmap);
}
@ -346,7 +346,7 @@ void PulseDataItem::showPulse()
if (!headshotOkay)
{
// default.
QPixmap pixmap = QPixmap(":/icons/png/posted.png").scaled(50,50);
QPixmap pixmap = FilesDefs::getPixmapFromQtResourcePath(":/icons/png/posted.png").scaled(50,50);
setHeadshot(pixmap); // QPixmap(":/icons/png/posted.png"));
}