MCPcopy Create free account
hub / github.com/KDE/okular / showEvent

Method showEvent

part/fileprinterpreview.cpp:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void FilePrinterPreview::showEvent(QShowEvent *event)
147{
148 if (!event->spontaneous()) {
149 // being shown for the first time
150 if (!d->doPreview()) {
151 event->accept();
152 return;
153 }
154 }
155 QDialog::showEvent(event);
156}
157
158#include "moc_fileprinterpreview.cpp"

Callers

nothing calls this directly

Calls 1

doPreviewMethod · 0.80

Tested by

no test coverage detected