diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 0079b8c..6832233 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -44,9 +44,9 @@ class MainWindow : public QMainWindow QHash previewOrder; /* Quick lookup for the order a preview should have */ QMap previewWidgetOrderCache /* Saves those that arrived out of order to be inserted later at the correct pos */; - bool previewDirty; - int previewsPerPage; - unsigned int processedPdfPreviews; + bool previewDirty = false; + int previewsPerPage = 20; + unsigned int processedPdfPreviews = 0; unsigned int currentPreviewGeneration = 1; void connectSignals();