]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlError.C
The reference dialog now disconnects from the inset on Apply. Its behaviour
[lyx.git] / src / frontends / controllers / ControlError.C
index 4a178607d9bae7ff53edbc27b56665c9e9aa23a7..c2fddcb5c70044cbba5c4a71e47a271a9b49b78f 100644 (file)
 
 #include <config.h>
 
+#include "ViewBase.h"
+#include "ButtonControllerBase.h"
 #include "ControlError.h"
 #include "Dialogs.h"
 #include "LyXView.h"
 #include "buffer.h"
 #include "insets/inseterror.h"
 
-using SigC::slot;
 
 ControlError::ControlError(LyXView & lv, Dialogs & d)
        : ControlInset<InsetError, string>(lv, d)
 {
-       d_.showError.connect(slot(this, &ControlError::showInset));
+       d_.showError.connect(SigC::slot(this, &ControlError::showInset));
 }
 
+
 string const ControlError::getParams(InsetError const & inset)
 {
        return inset.getContents();