-
Notifications
You must be signed in to change notification settings - Fork 589
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
Replace deprecated setTimeSpec() calls #779
Replace deprecated setTimeSpec() calls #779
Conversation
Unfortunately, the correct solution for the "unused variable" is to properly use it at the end of that routine. That said, the GetInfo routine is a new addition yesterday and is testable but not complete. I have pushed the proper solution to master. Please remove your incorrect unused variable "fix", and I will go ahead and merge the remaining part of your PR. Thank you. |
Actually since Sigil supports as far back as Qt 6.4.2 and QTimeZone did not finish that class until Qt 6.5, and because setTimeSpec will not even be deprecated until 6.9, I am not sure we can merge your PR at all. It would need to be tested on Qt 6.4 to see if it works properly. |
I approved the Linux CI build of this PR, so we should at least see if it will build with Qt6.4 |
So it appears to work with Qt 6.4. |
It builds ok, but I'm not sure that's enough. It wouldn't be the first time I saw a Qt problem that didn't manifest until runtime. ;) How would I test that this works with a Qt6.4 based Sigil? That said: we can probably merge the PR for now. If we run into problems later, we can deal with it. |
Got it. So we're still waiting for PR to be changed to reflect that. |
Yes, unless you know how to merge only a part of a PR! |
I might be able to cherry-pick the one commit if they don't get back to us.
…On Sat, Oct 19, 2024, 6:07 PM Kevin Hendricks ***@***.***> wrote:
Yes, unless you know how to merge only a part of a PR!
—
Reply to this email directly, view it on GitHub
<#779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACG3CXRTD42DQFVXVYLTVP3Z4LJZPAVCNFSM6AAAAABQHV6DBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUGIZTIMJUGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You can test it by editing any epub and saving it and then check the metadata for modification time to see if it fits the required format (matches the current format) and has the current date/time. |
Let's give them a chance to fix the PR, otherwise we will cherry pick the part we want. |
Looks like the PR might be incompatible with the current HEAD. Is that just because of the commit in question? |
Yes, it removed an "unused" variable in the newly created GetInfo() but instead of removing it, it should have been used to restore BookBrowser state. |
This change should be compatible back to Qt 5.5 (https://doc.qt.io/qt-5/qtimezone.html#utc) and it removes the deprecation warnings that occur since Qt 6.5
057540b
to
03baa1c
Compare
I was actually sleeping during this time (anyway I removed the unused variable change) |
Thank you! |
No description provided.