Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Gwenview
Commits
868d3d31
Commit
868d3d31
authored
Feb 09, 2022
by
Laurent Montel
Browse files
Remove obsolete code
parent
3d01e041
Pipeline
#135228
passed with stage
in 2 minutes and 24 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
868d3d31
...
...
@@ -11,7 +11,9 @@ project(gwenview VERSION ${RELEASE_SERVICE_VERSION})
set
(
CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake
)
set
(
QT_MIN_VERSION
"5.15.0"
)
set
(
KF5_MIN_VERSION
"5.79.0"
)
set
(
KF5_MIN_VERSION
"5.84.0"
)
set
(
KDE_COMPILERSETTINGS_LEVEL
"5.82"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
...
...
app/fileopscontextmanageritem.cpp
View file @
868d3d31
...
...
@@ -81,11 +81,7 @@ void FileOpsContextManagerItem::updateServiceList()
}
}
#if KIO_VERSION >= QT_VERSION_CHECK(5, 83, 0)
mServiceList
=
KFileItemActions
::
associatedApplications
(
mimeTypes
);
#else
mServiceList
=
KFileItemActions
::
associatedApplications
(
mimeTypes
,
QString
());
#endif
}
QMimeData
*
FileOpsContextManagerItem
::
selectionMimeData
()
...
...
app/mainwindow.cpp
View file @
868d3d31
...
...
@@ -1692,11 +1692,7 @@ void MainWindow::showConfigDialog()
void
MainWindow
::
configureShortcuts
()
{
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 84, 0)
guiFactory
()
->
showConfigureShortcutsDialog
();
#else
guiFactory
()
->
configureShortcuts
();
#endif
}
void
MainWindow
::
toggleMenuBar
()
...
...
lib/invisiblebuttongroup.cpp
View file @
868d3d31
...
...
@@ -40,13 +40,8 @@ InvisibleButtonGroup::InvisibleButtonGroup(QWidget *parent)
hide
();
d
->
mGroup
=
new
QButtonGroup
(
this
);
d
->
mGroup
->
setExclusive
(
true
);
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
connect
(
d
->
mGroup
,
&
QButtonGroup
::
idClicked
,
#else
connect
(
d
->
mGroup
,
QOverload
<
int
>::
of
(
&
QButtonGroup
::
buttonClicked
),
#endif
this
,
&
InvisibleButtonGroup
::
selectionChanged
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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