mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Allow to scale GUI on high DPI screens
This commit is contained in:
@@ -23,7 +23,7 @@ using namespace BlackCore;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
//! [SwiftApplicationDemo]
|
||||
CGuiApplication::highDpiScreenSupport();
|
||||
CGuiApplication::highDpiScreenSupport(CGuiApplication::parseScaleFactor(argc, argv));
|
||||
QApplication qa(argc, argv);
|
||||
Q_UNUSED(qa); // application init needed
|
||||
CSwiftGuiStdApplication a; // application with contexts
|
||||
|
||||
Reference in New Issue
Block a user