From 0344e6a8071d19cc66e5686ae572457a45873e4a Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sat, 27 Feb 2021 14:31:48 -0500 Subject: Add option to anchor a preview window to a position. --- ui/uicontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/uicontext.h b/ui/uicontext.h index df016462..ffc5b325 100644 --- a/ui/uicontext.h +++ b/ui/uicontext.h @@ -96,7 +96,7 @@ public: static QSize getScaledWindowSize(int x, int y); static void updateStatus(bool updateInfo = true); static void notifyThemeChanged(); - static void showPreview(QWidget* parent, PreviewWidget* preview, QPoint localPos); + static void showPreview(QWidget* parent, PreviewWidget* preview, QPoint localPos, bool anchorAtPoint = false); static void closePreview(); static bool sendPreviewWheelEvent(QWheelEvent* event); static void closeOtherActiveModalWidget(QWidget* current); -- cgit v1.3.1