aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/debate.cc2
-rw-r--r--src/gui/debate.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/debate.cc b/src/gui/debate.cc
index 101dae1d..407d3208 100644
--- a/src/gui/debate.cc
+++ b/src/gui/debate.cc
@@ -49,7 +49,7 @@ namespace OpenAxiom {
}
Debate::Debate(QWidget* parent, Command& cmd)
- : QScrollArea(parent), conv(*this) {
+ : QScrollArea(parent), conv(*this), fs(cmd.root_dir) {
setWidget(&conv);
setViewportMargins(0, 0, 0, 0);
viewport()->setAutoFillBackground(true);
diff --git a/src/gui/debate.h b/src/gui/debate.h
index fa875c5b..6fc9b84d 100644
--- a/src/gui/debate.h
+++ b/src/gui/debate.h
@@ -48,6 +48,7 @@ namespace OpenAxiom {
~Debate();
Conversation* exchanges() { return &conv; }
+ Filesystem* filesystem() { return &fs; }
protected:
void resizeEvent(QResizeEvent*);
@@ -57,6 +58,7 @@ namespace OpenAxiom {
private:
Conversation conv;
+ Filesystem fs;
};
}