]> git.lyx.org Git - features.git/commitdiff
connect to the right slots...
authorEdwin Leuven <e.leuven@gmail.com>
Sun, 9 Sep 2007 12:06:37 +0000 (12:06 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Sun, 9 Sep 2007 12:06:37 +0000 (12:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20165 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiTexinfo.cpp
src/frontends/qt4/GuiViewSource.cpp

index 21decc7ce22a1220eadaf7ce241c045c40f381dc..fa4c4284acc9a55c8940c1c3d56e35f82cbfcbe7 100644 (file)
@@ -44,8 +44,8 @@ GuiTexinfoDialog::GuiTexinfoDialog(LyXView & lv)
        connect(viewPB, SIGNAL(clicked()), this, SLOT(viewClicked()));
        connect(whatStyleCO, SIGNAL(activated(const QString &)),
                this, SLOT(enableViewPB()));
-       connect(whatStyleCO, SIGNAL(activated(int)), this, SLOT(update()));
-       connect(pathCB, SIGNAL(stateChanged(int)), this, SLOT(update()));
+       connect(whatStyleCO, SIGNAL(activated(int)), this, SLOT(updateView()));
+       connect(pathCB, SIGNAL(stateChanged(int)), this, SLOT(updateView()));
        connect(rescanPB, SIGNAL(clicked()), this, SLOT(enableViewPB()));
        connect(rescanPB, SIGNAL(clicked()), this, SLOT(rescanClicked()));
        connect(fileListLW, SIGNAL(itemClicked(QListWidgetItem *)),
index 019faba5a95571334128047b1d5c5d9edb7b662d..c2f7fb562f752be3ad6f4fb1e9964592a0d5f190 100644 (file)
@@ -32,11 +32,11 @@ GuiViewSourceDialog::GuiViewSourceDialog(ControlViewSource & controller)
        setWindowTitle(qt_("LaTeX Source"));
 
        connect(viewFullSourceCB, SIGNAL(clicked()),
-               this, SLOT(update()));
+               this, SLOT(updateView()));
        connect(autoUpdateCB, SIGNAL(toggled(bool)),
                updatePB, SLOT(setDisabled(bool)));
        connect(updatePB, SIGNAL(clicked()),
-               this, SLOT(update()));
+               this, SLOT(updateView()));
 
        // setting a document at this point trigger an assertion in Qt
        // so we disable the signals here: