Commit a1d8dcd5 authored by Gustavo Carneiro's avatar Gustavo Carneiro

Check is valid pointer

parent 3369c502
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment