]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiLabel.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiLabel.cpp
index d49bb745859d1d19acd3ff7345b74fa213d16c2c..b90723e958f6fabda1a02a3613110c6025db84e4 100644 (file)
 
 #include "GuiLabel.h"
 
-#include "support/debug.h"
 #include "qt_helpers.h"
 
+#include "support/debug.h"
+
 #include <QLabel>
 #include <QPushButton>
 #include <QLineEdit>
-#include <QCloseEvent>
 
 using namespace std;
 
@@ -62,13 +62,6 @@ void GuiLabel::reject()
 }
 
 
-void GuiLabel::closeEvent(QCloseEvent * e)
-{
-       slotClose();
-       e->accept();
-}
-
-
 void GuiLabel::updateContents()
 {
        docstring const contents = params_["name"];