From 86cf39319814fcb38cbce45ad47a346894f7c325 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Wed, 6 Feb 2002 10:58:08 +0000 Subject: [PATCH] qt2 frontend compilation fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3492 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 8 +++++++- src/frontends/qt2/QGraphics.C | 5 ++--- src/frontends/qt2/QTexinfoDialog.C | 5 ----- src/frontends/qt2/QTexinfoDialog.h | 1 - src/frontends/qt2/ui/QTexinfoDialog.ui | 24 +----------------------- 5 files changed, 10 insertions(+), 33 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 34caf1ee68..49afac571b 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,5 +1,11 @@ +2002-02-06 Edwin Leuven + * QGraphics.C: compilation fix + * QTexinfoDialog.C: + * QTexinfoDialog.h: + * ui/QTexinfoDialog.ui: remove help button + 2002-01-31 Edwin Leuven - + * qt2/QGraphics.C * qt2/QGraphics.h * qt2/QGraphicsDialog.C diff --git a/src/frontends/qt2/QGraphics.C b/src/frontends/qt2/QGraphics.C index dfe5026e18..cfe81b2c0a 100644 --- a/src/frontends/qt2/QGraphics.C +++ b/src/frontends/qt2/QGraphics.C @@ -179,8 +179,8 @@ void QGraphics::apply() igp.filename = dialog_->filename->text(); - if (!controller().bbChanged) // different to the original one? - igp.bb = string(); // don't write anything + if (!controller().bbChanged) // different to the original one? + igp.bb = string(); // don't write anything else { string bb; string lbX(dialog_->lbX->text()); @@ -264,7 +264,6 @@ void QGraphics::apply() igp.special = dialog_->latexoptions->text(); - igp.testInvariant(); } diff --git a/src/frontends/qt2/QTexinfoDialog.C b/src/frontends/qt2/QTexinfoDialog.C index 8b0096a210..96bed18daa 100644 --- a/src/frontends/qt2/QTexinfoDialog.C +++ b/src/frontends/qt2/QTexinfoDialog.C @@ -41,11 +41,6 @@ void QTexinfoDialog::closeEvent(QCloseEvent * e) e->accept(); } -void QTexinfoDialog::helpClicked() -{ - form_->controller().help(); -} - void QTexinfoDialog::rescanClicked() { // build new *Files.lst diff --git a/src/frontends/qt2/QTexinfoDialog.h b/src/frontends/qt2/QTexinfoDialog.h index e5b17d8838..6885165a24 100644 --- a/src/frontends/qt2/QTexinfoDialog.h +++ b/src/frontends/qt2/QTexinfoDialog.h @@ -23,7 +23,6 @@ public: protected slots: virtual void change_adaptor(); - virtual void helpClicked(); virtual void rescanClicked(); virtual void viewClicked(); virtual void update(); diff --git a/src/frontends/qt2/ui/QTexinfoDialog.ui b/src/frontends/qt2/ui/QTexinfoDialog.ui index 0f8dbe7781..9e6c148671 100644 --- a/src/frontends/qt2/ui/QTexinfoDialog.ui +++ b/src/frontends/qt2/ui/QTexinfoDialog.ui @@ -13,7 +13,7 @@ 0 0 - 299 + 295 290 @@ -212,21 +212,6 @@ spacing 6 - - QPushButton - - name - helpPB - - - text - &Help - - - toolTip - Bring up help file - - name @@ -274,12 +259,6 @@ QTexinfoDialogBase viewClicked() - - helpPB - clicked() - QTexinfoDialogBase - helpClicked() - rescanPB clicked() @@ -308,7 +287,6 @@ path viewPB rescanPB - helpPB closePB