Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Qt >= 6.5.1 crasher, re-enable disk cache #4463

Merged
merged 2 commits into from
Jul 22, 2023
Merged

Fix Qt >= 6.5.1 crasher, re-enable disk cache #4463

merged 2 commits into from
Jul 22, 2023

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jul 22, 2023

TIL: aliasing an alias isn't something Qt6 likes (and really, isn't something we should do anyways).

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Jul 22, 2023

@@ -28,6 +28,8 @@ ProjectInfo::ProjectInfo( QObject *parent )
: QObject( parent )
{
mSaveExtentTimer.setSingleShot( true );
mSaveRotationTimer.setSingleShot( true );
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@m-kuhn , found this issue while dissecting why Qt6 builds were showing some brief pauses every ~1sec when dragging the canvas. Turns out we were running these timers at infinity once triggered. That's... terrible! 😱

@nirvn nirvn closed this Jul 22, 2023
@nirvn nirvn reopened this Jul 22, 2023
@nirvn nirvn merged commit 885331c into master Jul 22, 2023
36 of 40 checks passed
@nirvn nirvn deleted the fix_qt6_crasher branch July 22, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants