Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
DrKonqi
Commits
032e9d9d
Commit
032e9d9d
authored
Oct 22, 2020
by
Laurent Montel
😁
Browse files
Compile without deprecated method
parent
7efdd85e
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
032e9d9d
...
...
@@ -30,6 +30,8 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n CoreAddons Service
Notifications IdleTime WindowSystem SyntaxHighlighting
)
find_package
(
Qt5X11Extras
${
QT_MIN_VERSION
}
CONFIG
)
set_package_properties
(
Qt5X11Extras PROPERTIES TYPE RECOMMENDED PURPOSE
"Recommended for better integration on X11."
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054C00
)
if
(
MINGW
)
find_package
(
ZLIB REQUIRED
)
...
...
src/bugzillaintegration/reportassistantpages_base.cpp
View file @
032e9d9d
...
...
@@ -135,9 +135,9 @@ BugAwarenessPage::BugAwarenessPage(ReportAssistantDialog * parent)
"What I was doing when the application
\"
%1
\"
crashed"
,
DrKonqi
::
crashedApplication
()
->
name
()));
connect
(
ui
.
m_rememberGroup
,
static_cast
<
void
(
QButtonGroup
::*
)(
int
)
>
(
&
QButtonGroup
::
buttonClick
ed
)
,
this
,
&
BugAwarenessPage
::
updateCheckBoxes
);
connect
(
ui
.
m_rememberGroup
,
&
QButtonGroup
::
idPress
ed
,
this
,
&
BugAwarenessPage
::
updateCheckBoxes
);
// Also listen to toggle so radio buttons are covered.
connect
(
ui
.
m_rememberGroup
,
static_cast
<
void
(
QButtonGroup
::*
)(
int
,
bool
)
>
(
&
QButtonGroup
::
buttonToggl
ed
)
,
this
,
&
BugAwarenessPage
::
updateCheckBoxes
);
connect
(
ui
.
m_rememberGroup
,
&
QButtonGroup
::
idPress
ed
,
this
,
&
BugAwarenessPage
::
updateCheckBoxes
);
ui
.
m_appSpecificDetailsExamplesWidget
->
setVisible
(
reportInterface
()
->
appDetailsExamples
()
->
hasExamples
());
...
...
src/bugzillaintegration/reportassistantpages_bugzilla_duplicates.cpp
View file @
032e9d9d
...
...
@@ -999,9 +999,9 @@ BugzillaReportConfirmationDialog::BugzillaReportConfirmationDialog(int bugNumber
connect
(
ui
.
buttonGroupProceed
,
SIGNAL
(
buttonClicked
(
int
)),
this
,
SLOT
(
checkProceed
()));
connect
(
ui
.
buttonGroupProceedQuestion
,
SIGNAL
(
buttonClicked
(
int
)),
this
,
SLOT
(
checkProceed
()));
// Also listen to toggle so radio buttons are covered.
connect
(
ui
.
buttonGroupProceed
,
static_cast
<
void
(
QButtonGroup
::*
)(
int
,
bool
)
>
(
&
QButtonGroup
::
buttonToggl
ed
)
,
connect
(
ui
.
buttonGroupProceed
,
&
QButtonGroup
::
idPress
ed
,
this
,
&
BugzillaReportConfirmationDialog
::
checkProceed
);
connect
(
ui
.
buttonGroupProceedQuestion
,
static_cast
<
void
(
QButtonGroup
::*
)(
int
,
bool
)
>
(
&
QButtonGroup
::
buttonToggl
ed
)
,
connect
(
ui
.
buttonGroupProceedQuestion
,
&
QButtonGroup
::
idPress
ed
,
this
,
&
BugzillaReportConfirmationDialog
::
checkProceed
);
if
(
!
m_showProceedQuestion
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment