diff widgets/InteractiveFileFinder.h @ 831:831188672987

Make it possible to set the parent widget
author Chris Cannam
date Wed, 13 Aug 2014 16:42:25 +0100
parents d0fd7630d32f
children a18e78b9c78b
line wrap: on
line diff
--- a/widgets/InteractiveFileFinder.h	Fri Jul 25 17:02:29 2014 +0100
+++ b/widgets/InteractiveFileFinder.h	Wed Aug 13 16:42:25 2014 +0100
@@ -44,6 +44,8 @@
 
     QString find(FileType type, QString location, QString lastKnownLocation = "");
 
+    static void setParentWidget(QWidget *);
+
     static InteractiveFileFinder *getInstance() { return &m_instance; }
 
 protected:
@@ -55,6 +57,8 @@
 
     QString m_sessionExtension;
     QString m_lastLocatedLocation;
+
+    QWidget *m_parent;
 };
 
 #endif