mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 21:05:46 -04:00
Qt: Enable DPI scaling
This commit is contained in:
@ -20,6 +20,8 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
InitLogging();
|
InitLogging();
|
||||||
|
|
||||||
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();
|
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();
|
||||||
|
Reference in New Issue
Block a user