Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joao Oliveira
Okular
Commits
5275d127
Commit
5275d127
authored
Feb 09, 2015
by
Albert Astals Cid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Justity the hack don't feel like breaking/expanding the API now
parent
93491b4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
core/document.cpp
core/document.cpp
+5
-1
No files found.
core/document.cpp
View file @
5275d127
...
...
@@ -979,7 +979,11 @@ Document::OpenResult DocumentPrivate::openDocumentInternal( const KService::Ptr&
m_generator
->
d_func
()
->
m_document
=
0
;
QObject
::
disconnect
(
m_generator
,
0
,
m_parent
,
0
);
// TODO this is a hack just for 14.12 not to break API
// TODO this is a bit of a hack, since basically means that
// you can only call walletDataForFile after calling openDocument
// but since in reality it's what happens I've decided not to refactor/break API
// One solution is just kill walletDataForFile and make OpenResult be an object
// where the wallet data is also returned when OpenNeedsPassword
m_walletGenerator
=
m_generator
;
m_generator
=
0
;
...
...
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