[Companion] Some refactoring around the splash image handling (#4067)
This commit is contained in:
@@ -42,7 +42,7 @@ void SplashLibraryDialog::setupPage(int page)
|
||||
if ((i + 20 * page) < imageList.size()) {
|
||||
QImage image(imageList.at(i + 20 * page));
|
||||
if (!image.isNull()) {
|
||||
sl[i]->setPixmap(makePixMap(image, g.profile[g.id()].fwType()));
|
||||
sl[i]->setPixmap(makePixMap(image));
|
||||
sl[i]->setEnabled(true);
|
||||
sl[i]->setId((i + 20 * page));
|
||||
sl[i]->setStyleSheet("border:1px solid; border-color:#999999;");
|
||||
|
||||
Reference in New Issue
Block a user