aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/ProjectDescriptionPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/widgets/ProjectDescriptionPage.h')
-rw-r--r--launcher/ui/widgets/ProjectDescriptionPage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/launcher/ui/widgets/ProjectDescriptionPage.h b/launcher/ui/widgets/ProjectDescriptionPage.h
index 8387d3fb..3dd85302 100644
--- a/launcher/ui/widgets/ProjectDescriptionPage.h
+++ b/launcher/ui/widgets/ProjectDescriptionPage.h
@@ -19,6 +19,14 @@ class ProjectDescriptionPage final : public QTextBrowser {
void setMetaEntry(QString entry);
+ public slots:
+ /** Flushes the current processing happening in the page.
+ *
+ * Should be called when changing the page's content entirely, to
+ * prevent old tasks from changing the new content.
+ */
+ void flush();
+
private:
shared_qobject_ptr<VariableSizedImageObject> m_image_text_object;
};