summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-16 20:50:30 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-16 20:52:53 +0200
commit41a34f74ed1cf16428533724c5eb6f381d813850 (patch)
treeab78fa6e0c67f4705ec0b3d664721b94cc235d56 /plugingui/filebrowser.h
parent04321fa1f096c51a08f43363f4e7fb3de014a370 (diff)
Make FileBrowser a Dialog.
Diffstat (limited to 'plugingui/filebrowser.h')
-rw-r--r--plugingui/filebrowser.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugingui/filebrowser.h b/plugingui/filebrowser.h
index bc7170a..7b31864 100644
--- a/plugingui/filebrowser.h
+++ b/plugingui/filebrowser.h
@@ -29,7 +29,7 @@
#include <notifier.h>
#include <platform.h>
-#include "widget.h"
+#include "dialog.h"
#include "button.h"
#include "listbox.h"
#include "lineedit.h"
@@ -40,10 +40,11 @@
namespace GUI
{
-class FileBrowser : public Widget {
+class FileBrowser
+ : public Dialog
+{
public:
- FileBrowser(Widget *parent);
- virtual ~FileBrowser();
+ FileBrowser(Widget* parent);
void setPath(const std::string& path);