Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
5cb19a95
Commit
5cb19a95
authored
7 years ago
by
Gagik Vardanyan
Browse files
Options
Downloads
Patches
Plain Diff
Re #19527 print dialog on stack
parent
f1120683
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MantidQt/MantidWidgets/src/pqHelpWindow.cxx
+3
-3
3 additions, 3 deletions
MantidQt/MantidWidgets/src/pqHelpWindow.cxx
with
3 additions
and
3 deletions
MantidQt/MantidWidgets/src/pqHelpWindow.cxx
+
3
−
3
View file @
5cb19a95
...
...
@@ -328,9 +328,9 @@ void pqHelpWindow::showPage(const QUrl& url)
//-----------------------------------------------------------------------------
void
pqHelpWindow
::
printPage
()
{
QPrinter
printer
;
QPrintDialog
*
dialog
=
new
QPrintD
ialog
(
&
printer
,
this
);
dialog
->
setWindowTitle
(
tr
(
"Print Document"
));
if
(
dialog
->
exec
()
!=
QDialog
::
Accepted
)
QPrintDialog
d
ialog
(
&
printer
,
this
);
dialog
.
setWindowTitle
(
tr
(
"Print Document"
));
if
(
dialog
.
exec
()
!=
QDialog
::
Accepted
)
return
;
m_browser
->
print
(
&
printer
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment