Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
a1d8dcd5
Commit
a1d8dcd5
authored
Aug 16, 2020
by
Gustavo Carneiro
Browse files
Check is valid pointer
parent
3369c502
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/KonsolePrintManager.cpp
View file @
a1d8dcd5
...
...
@@ -40,6 +40,10 @@ using namespace Konsole;
void
KonsolePrintManager
::
printRequest
(
pPrintContent
pContent
,
QWidget
*
parent
)
{
if
(
!
pContent
)
{
return
;
}
QPrinter
printer
;
QPointer
<
QPrintDialog
>
dialog
=
new
QPrintDialog
(
&
printer
,
parent
);
...
...
Write
Preview
Supports
Markdown
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