mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-27 06:46:22 +00:00
fix(@desktop): enable the hover effects by default
Close #6254 - since Qt 5.xy, hover is not enabled by default for QQC2, so enable it unconditionally as we are a desktop app anyway - this fixes several hover effects being broken, mostly for builtin components like MenuItem and some buttons (eg. the leftmost NavBar) where we haven't enabled those with `hoverEnabled: true` explicitely
This commit is contained in:
parent
c296fa21bc
commit
d0a26a326e
@ -95,6 +95,7 @@ proc mainProc() =
|
||||
installSelfSignedCertificate(imageCert)
|
||||
|
||||
let app = newQGuiApplication()
|
||||
os.putEnv("QT_QUICK_CONTROLS_HOVER_ENABLED", "1")
|
||||
let appController = newAppController(statusFoundation)
|
||||
let singleInstance = newSingleInstance($toMD5(DATADIR), openUri)
|
||||
let networkAccessFactory = newQNetworkAccessManagerFactory(TMPDIR & "netcache")
|
||||
|
Loading…
x
Reference in New Issue
Block a user