Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Petrovic
kdenlive
Commits
75be11d3
Commit
75be11d3
authored
Jan 02, 2016
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow KF5 versions < 5.15
parent
fdd8d048
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
src/main.cpp
src/main.cpp
+6
-0
No files found.
CMakeLists.txt
View file @
75be11d3
...
...
@@ -74,7 +74,7 @@ check_include_files(pthread.h HAVE_PTHREAD_H)
find_package
(
Qt5 CONFIG REQUIRED Core DBus Test Widgets Script Svg Quick
)
find_package
(
KF5
5.15
REQUIRED COMPONENTS Archive Bookmarks CoreAddons Config ConfigWidgets
find_package
(
KF5 REQUIRED COMPONENTS Archive Bookmarks CoreAddons Config ConfigWidgets
DBusAddons KIO WidgetsAddons Plotting NotifyConfig NewStuff XmlGui Notifications GuiAddons TextWidgets IconThemes DocTools Crash OPTIONAL_COMPONENTS FileMetaData
)
if
(
KF5FileMetaData_FOUND
)
...
...
src/main.cpp
View file @
75be11d3
...
...
@@ -21,6 +21,8 @@
#include <config-kdenlive.h>
#include "mainwindow.h"
#include "kxmlgui_version.h"
#include <KAboutData>
#include <KCrash>
#include <QDebug>
...
...
@@ -94,7 +96,11 @@ int main(int argc, char *argv[])
// Register DBus service
KDBusService
programDBusService
;
#if KXMLGUI_VERSION_MINOR > 14 || KXMLGUI_VERSION_MAJOR > 5
KCrash
::
initialize
();
#else
KCrash
::
setCrashHandler
(
KCrash
::
defaultCrashHandler
);
#endif
// see if we are starting with session management
if
(
qApp
->
isSessionRestored
()){
...
...
Write
Preview
Markdown
is supported
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