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
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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
Krita
Commits
8fef60f3
Commit
8fef60f3
authored
Jan 15, 2016
by
Jouni Pentikäinen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix non-openGL build
parent
89daca00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
krita/ui/KisMainWindow.cpp
krita/ui/KisMainWindow.cpp
+5
-3
No files found.
krita/ui/KisMainWindow.cpp
View file @
8fef60f3
...
...
@@ -118,8 +118,8 @@
#include "kis_action_manager.h"
#include "thememanager.h"
#include "kis_resource_server_provider.h"
#include "kis_animation_importer.h"
#ifdef HAVE_OPENGL
#include "kis_animation_importer.h"
#include "kis_animation_exporter.h"
#endif
#include "kis_icon_utils.h"
...
...
@@ -220,8 +220,8 @@ public:
KisAction
*
printAction
;
KisAction
*
printActionPreview
;
KisAction
*
exportPdf
;
KisAction
*
importAnimation
;
#ifdef HAVE_OPENGL
KisAction
*
importAnimation
;
KisAction
*
exportAnimation
;
#endif
KisAction
*
closeAll
;
...
...
@@ -1488,6 +1488,7 @@ KisPrintJob* KisMainWindow::exportToPdf(KoPageLayout pageLayout, QString pdfFile
void
KisMainWindow
::
importAnimation
()
{
#ifdef HAVE_OPENGL
if
(
!
activeView
())
return
;
KisDocument
*
document
=
activeView
()
->
document
();
...
...
@@ -1497,6 +1498,7 @@ void KisMainWindow::importAnimation()
importer
.
importSequence
(
document
);
activeView
()
->
canvasBase
()
->
refetchDataFromImage
();
#endif
}
void
KisMainWindow
::
exportAnimation
()
...
...
@@ -2113,10 +2115,10 @@ void KisMainWindow::createActions()
d
->
exportPdf
=
actionManager
->
createAction
(
"file_export_pdf"
);
connect
(
d
->
exportPdf
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
exportToPdf
()));
#ifdef HAVE_OPENGL
d
->
importAnimation
=
actionManager
->
createAction
(
"file_import_animation"
);
connect
(
d
->
importAnimation
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
importAnimation
()));
#ifdef HAVE_OPENGL
d
->
exportAnimation
=
actionManager
->
createAction
(
"file_export_animation"
);
connect
(
d
->
exportAnimation
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
exportAnimation
()));
#endif
...
...
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