|
a/GUI/mainw/mw_cover.cpp |
|
b/GUI/mainw/mw_cover.cpp |
|
... |
|
... |
81 |
}
|
81 |
}
|
82 |
|
82 |
|
83 |
QPixmap pixmap;
|
83 |
QPixmap pixmap;
|
84 |
pixmap.convertFromImage(image);
|
84 |
pixmap.convertFromImage(image);
|
85 |
ui->player_w->albumCover->setIcon(QIcon(pixmap));
|
85 |
ui->player_w->albumCover->setIcon(QIcon(pixmap));
|
|
|
86 |
ui->player_w->albumCover->setIconSize(ui->player_w->albumCover->size());
|
86 |
|
87 |
|
87 |
QString htmlfrag("<img src=\"");
|
88 |
QString htmlfrag("<img src=\"");
|
88 |
htmlfrag += m_covertempfile->fileName();
|
89 |
htmlfrag += m_covertempfile->fileName();
|
89 |
htmlfrag += "\">";
|
90 |
htmlfrag += "\">";
|
90 |
ui->player_w->albumCover->setToolTip(htmlfrag);
|
91 |
ui->player_w->albumCover->setToolTip(htmlfrag);
|