mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Include sanitation
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#include "icon_utils.h"
|
||||
|
||||
#include <QPainter>
|
||||
#include <QSvgRenderer>
|
||||
|
||||
#include "yacreader_global.h"
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
#ifndef ICON_UTILS_H
|
||||
#define ICON_UTILS_H
|
||||
|
||||
#include <QtGui>
|
||||
#include <QColor>
|
||||
#include <QPixmap>
|
||||
#include <QString>
|
||||
|
||||
// Render an SVG file to a QPixmap at a specific logical size with HiDPI support.
|
||||
// Uses QSvgRenderer to rasterize directly at the target resolution (no upscaling).
|
||||
|
||||
Reference in New Issue
Block a user