aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/FilePage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widgets/FilePage.h')
-rw-r--r--src/ui/widgets/FilePage.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ui/widgets/FilePage.h b/src/ui/widgets/FilePage.h
index be7ceea7..9fd4308e 100644
--- a/src/ui/widgets/FilePage.h
+++ b/src/ui/widgets/FilePage.h
@@ -25,6 +25,8 @@
#ifndef GPGFRONTEND_FILEPAGE_H
#define GPGFRONTEND_FILEPAGE_H
+#include <boost/filesystem.hpp>
+
#include "ui/GpgFrontendUI.h"
namespace GpgFrontend::UI {
@@ -65,8 +67,10 @@ class FilePage : public QWidget {
QFileSystemModel* dirModel;
QTreeView* dirTreeView;
QLineEdit* pathEdit;
- QString mPath;
- QString selectedPath;
+
+ // using boost path
+ boost::filesystem::path mPath;
+ boost::filesystem::path selectedPath;
QPushButton* upLevelButton;
QPushButton* goPathButton;