gui: mainwindow.h: Initialize preview-related members with a default

这个提交包含在:
Albert S. 2022-10-26 13:13:20 +02:00
父节点 496aefaa09
当前提交 9e1bc98f38
共有 1 个文件被更改,包括 3 次插入3 次删除

查看文件

@ -44,9 +44,9 @@ class MainWindow : public QMainWindow
QHash<QString, int> previewOrder; /* Quick lookup for the order a preview should have */ QHash<QString, int> previewOrder; /* Quick lookup for the order a preview should have */
QMap<int, QWidget *> QMap<int, QWidget *>
previewWidgetOrderCache /* Saves those that arrived out of order to be inserted later at the correct pos */; previewWidgetOrderCache /* Saves those that arrived out of order to be inserted later at the correct pos */;
bool previewDirty; bool previewDirty = false;
int previewsPerPage; int previewsPerPage = 20;
unsigned int processedPdfPreviews; unsigned int processedPdfPreviews = 0;
unsigned int currentPreviewGeneration = 1; unsigned int currentPreviewGeneration = 1;
void connectSignals(); void connectSignals();