mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
qt, refactor: Inline GUIUtil::GetImage function
This commit is contained in:
@@ -962,15 +962,6 @@ bool HasPixmap(const QLabel* label)
|
||||
return !label->pixmap(Qt::ReturnByValue).isNull();
|
||||
}
|
||||
|
||||
QImage GetImage(const QLabel* label)
|
||||
{
|
||||
if (!HasPixmap(label)) {
|
||||
return QImage();
|
||||
}
|
||||
|
||||
return label->pixmap(Qt::ReturnByValue).toImage();
|
||||
}
|
||||
|
||||
QString MakeHtmlLink(const QString& source, const QString& link)
|
||||
{
|
||||
return QString(source).replace(
|
||||
|
||||
Reference in New Issue
Block a user