]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCharacter.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiCharacter.cpp
index 2f20575df94c988110a2ea56e64e4456175bfa9a..a5bf25cbe79513870acf4d367e2f535bc849bbd3 100644 (file)
@@ -21,7 +21,6 @@
 #include "FuncRequest.h"
 #include "Language.h"
 
-#include <QCloseEvent>
 
 using namespace std;
 
@@ -269,11 +268,10 @@ static vector<FamilyPair> const getFamilyData()
 
 
 GuiCharacter::GuiCharacter(GuiView & lv)
-       : GuiDialog(lv, "character"), font_(ignore_font),
+       : GuiDialog(lv, "character", qt_("Text Style")), font_(ignore_font),
          toggleall_(false), reset_lang_(false)
 {
        setupUi(this);
-       setViewTitle(_("Text Style"));
 
        connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
        connect(applyPB, SIGNAL(clicked()), this, SLOT(slotApply()));
@@ -378,13 +376,6 @@ void GuiCharacter::change_adaptor()
 }
 
 
-void GuiCharacter::closeEvent(QCloseEvent * e)
-{
-       slotClose();
-       GuiDialog::closeEvent(e);
-}
-
-
 template<class A, class B>
 static int findPos2nd(vector<pair<A, B> > const & vec, B const & val)
 {