Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/fb2head.hpp')
-rw-r--r--source/fb2head.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/fb2head.hpp b/source/fb2head.hpp
index d1e6085..d5c6819 100644
--- a/source/fb2head.hpp
+++ b/source/fb2head.hpp
@@ -168,8 +168,9 @@ class FbHeadView : public QTreeView
Q_OBJECT
public:
- explicit FbHeadView(FbTextEdit *view, QWidget *parent = 0);
+ explicit FbHeadView(QWidget *parent = 0);
void initToolbar(QToolBar &toolbar);
+ void setView(FbTextEdit *view);
FbHeadModel * model() const;
signals:
@@ -192,7 +193,7 @@ private:
void showStatus(const QModelIndex &current);
private:
- FbTextEdit & m_view;
+ FbTextEdit * m_view;
QAction * actionInsert;
QAction * actionModify;
QAction * actionDelete;