diff options
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 9ce5275e10..47145d6f85 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -312,6 +312,14 @@ namespace GUIUtil */ QDateTime StartOfDay(const QDate& date); + /** + * Returns true if pixmap has been set. + * + * QPixmap* QLabel::pixmap() is deprecated since Qt 5.15. + */ + bool HasPixmap(const QLabel* label); + QImage GetImage(const QLabel* label); + } // namespace GUIUtil #endif // BITCOIN_QT_GUIUTIL_H |