]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Action.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / Action.h
index 28ab3df4e05b3ac544f9b28cdb301a0f9dd7737c..54954c690070cd6fed36058036e6f55cebdbc1a5 100644 (file)
@@ -22,8 +22,6 @@ class FuncRequest;
 
 namespace frontend {
 
-class GuiViewBase;
-
 /**
  * Action - Qt interface with LyX' FuncRequest.
  *
@@ -34,8 +32,8 @@ class Action : public QAction
        Q_OBJECT
 
 public:
-       Action(GuiViewBase & lyxView, QIcon const & icon, QString const & text,
-               FuncRequest const & func, QString const & tooltip);
+       Action(QIcon const & icon, QString const & text,
+               FuncRequest const & func, QString const & tooltip, QObject * parent);
 
        void update();
 
@@ -48,7 +46,6 @@ private Q_SLOTS:
 
 private:
        FuncRequest const & func_ ;
-       GuiViewBase & lyxView_;
 };