diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2021-10-06 15:06:40 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2021-10-07 17:01:21 +0100 |
commit | d54ec27bac388d7b84cf7b6cb4506bb0c25f2f88 (patch) | |
tree | 9974c849a4b5745b8f51dfd1a13d868a0c5e98ee /src/qt/guiutil.h | |
parent | c0b6c96eee7c9e24b78935516225259e61cdabf7 (diff) | |
download | bitcoin-d54ec27bac388d7b84cf7b6cb4506bb0c25f2f88.tar.xz |
qt: Add helper to load font
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 6287f95192..211f3f506d 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -114,6 +114,11 @@ namespace GUIUtil void setClipboard(const QString& str); /** + * Loads the font from the file specified by file_name, aborts if it fails. + */ + void LoadFont(const QString& file_name); + + /** * Determine default data directory for operating system. */ QString getDefaultDataDirectory(); |