Backport some review fixes of Lioncash

This commit is contained in:
fearlessTobi
2018-09-01 01:42:07 +02:00
parent ffd78b635e
commit 2f6f232965
7 changed files with 58 additions and 68 deletions

View File

@@ -12,3 +12,10 @@ QFont GetMonospaceFont();
/// Convert a size in bytes into a readable format (KiB, MiB, etc.)
QString ReadableByteSize(qulonglong size);
/**
* Creates a circle pixmap from a specified color
* @param color The color the pixmap shall have
* @return QPixmap circle pixmap
*/
QPixmap CreateCirclePixmapFromColor(const QColor& color);