MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / fontScale

Method fontScale

syncthingwidgets/quick/quickui.cpp:261–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261qreal QuickUI::fontScale() const
262{
263#ifdef Q_OS_ANDROID
264 return qreal(QJniObject(QNativeInterface::QAndroidApplication::context()).callMethod<jfloat>("fontScale", "()F"));
265#else
266 return qreal(1.0);
267#endif
268}
269
270int QuickUI::fontWeightAdjustment() const
271{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected