mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
Ref T225, utility function to force stylesheet update
* Needed when setting UI element to readonly, and stylesheet is different for readonly * see https://stackoverflow.com/q/48141205/356726
This commit is contained in:
@@ -167,6 +167,9 @@ namespace BlackGui
|
||||
//! Using high DPI screen support
|
||||
static bool isUsingHighDpiScreenSupport();
|
||||
|
||||
//! Forces a stylesheet update
|
||||
static void forceStyleSheetUpdate(QWidget *widget);
|
||||
|
||||
private:
|
||||
//! Constructor, use static methods only
|
||||
CGuiUtility() {}
|
||||
|
||||
Reference in New Issue
Block a user