]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBibitem.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiBibitem.cpp
index 4c651cec4664747c23ec67772348608f5975ed8b..0e13e49426f1499307ca02d8e2c4d202a84ed1bb 100644 (file)
@@ -14,7 +14,6 @@
 #include "qt_helpers.h"
 #include "FuncRequest.h"
 
-#include <QCloseEvent>
 #include <QLineEdit>
 #include <QPushButton>
 
@@ -24,10 +23,9 @@ namespace frontend {
 
 
 GuiBibitem::GuiBibitem(GuiView & lv)
-       : GuiCommand(lv, "bibitem")
+       : GuiCommand(lv, "bibitem", qt_("Bibliography Entry Settings"))
 {
        setupUi(this);
-       setViewTitle(_("Bibliography Entry Settings"));
 
        connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
        connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
@@ -51,13 +49,6 @@ void GuiBibitem::change_adaptor()
 }
 
 
-void GuiBibitem::closeEvent(QCloseEvent *e)
-{
-       slotClose();
-       e->accept();
-}
-
-
 void GuiBibitem::updateContents()
 {
        keyED->setText(toqstr(params_["key"]));