Bug 496945 - compilation issue: wrong usage of operators in documentationpanel
Summary: compilation issue: wrong usage of operators in documentationpanel
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Cantor Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-02 17:43 UTC by uwestoehr
Modified: 2024-12-03 19:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 25.02
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uwestoehr 2024-12-02 17:43:21 UTC
On compiling today's master using MSVC on Windows I get some warnings about wrong usage of operators in documentationpanel:

[351/411] Building CXX object src\test\CMakeFiles\testworksheet.dir\__\worksheettextitem.cpp.obj
J:\LabPlotBuilds\7f6984e\cantor\src\worksheettextitem.cpp(151): warning C4996: 'QKeyCombination::operator int': Use QKeyCombination instead of int
[352/411] Building CXX object src\panelplugins\documentationpanel\CMakeFiles\cantor_documentationpanelplugin.dir\documentationpanelwidget.cpp.obj
J:\LabPlotBuilds\7f6984e\cantor\src\panelplugins\documentationpanel\documentationpanelwidget.cpp(88): warning C4996: 'Qt::operator +': Use operator| instead
J:\LabPlotBuilds\7f6984e\cantor\src\panelplugins\documentationpanel\documentationpanelwidget.cpp(96): warning C4996: 'Qt::operator +': Use operator| instead
J:\LabPlotBuilds\7f6984e\cantor\src\panelplugins\documentationpanel\documentationpanelwidget.cpp(320): warning C4996: 'QHelpIndexWidget::linkActivated': Use documentActivated() instead
Comment 1 Alexander Semke 2024-12-03 19:26:13 UTC
Git commit 5f3ba54921e0ac54a1d9415b3b88507682d05c53 by Alexander Semke.
Committed on 03/12/2024 at 19:25.
Pushed by asemke into branch 'master'.

Addressed a couple of compiler warnings.
Related: bug 496944
FIXED-IN: 25.02

M  +38   -38   src/formating.ui
M  +6    -3    src/panelplugins/documentationpanel/documentationpanelwidget.cpp

https://invent.kde.org/education/cantor/-/commit/5f3ba54921e0ac54a1d9415b3b88507682d05c53