all: remove NVIDIA workarounds

They fixed the driver.
This commit is contained in:
outfoxxed 2024-06-02 15:36:33 -07:00
parent 7d20b472dd
commit 29f02d837d
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 0 additions and 17 deletions

View file

@ -157,14 +157,7 @@ void ProxyWindowBase::completeWindow() {
}
bool ProxyWindowBase::deleteOnInvisible() const {
#ifdef NVIDIA_COMPAT
// Nvidia drivers and Qt do not play nice when hiding and showing a window
// so for nvidia compatibility we can never reuse windows if they have been
// hidden.
return true;
#else
return false;
#endif
}
QQuickWindow* ProxyWindowBase::backingWindow() const { return this->window; }