From 8b99f9c5b04bc4d53324c3015e3469656c863785 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 22 Nov 2009 22:18:24 +0000 Subject: [PATCH] Re-order these to make it clearer what needs doing. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32161 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiPrefs.cpp | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 7ddcfa4ed1..5d6968c426 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -1142,32 +1142,41 @@ PrefPaths::PrefPaths(GuiPreferences * form) : PrefModule(QString(), qt_("Paths"), form) { setupUi(this); - connect(exampleDirPB, SIGNAL(clicked()), this, SLOT(selectExampledir())); - connect(templateDirPB, SIGNAL(clicked()), this, SLOT(selectTemplatedir())); - connect(tempDirPB, SIGNAL(clicked()), this, SLOT(selectTempdir())); - connect(backupDirPB, SIGNAL(clicked()), this, SLOT(selectBackupdir())); + connect(workingDirPB, SIGNAL(clicked()), this, SLOT(selectWorkingdir())); - connect(lyxserverDirPB, SIGNAL(clicked()), this, SLOT(selectLyxPipe())); - connect(thesaurusDirPB, SIGNAL(clicked()), this, SLOT(selectThesaurusdir())); - connect(hunspellDirPB, SIGNAL(clicked()), this, SLOT(selectHunspelldir())); connect(workingDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); - connect(exampleDirED, SIGNAL(textChanged(QString)), - this, SIGNAL(changed())); + + connect(templateDirPB, SIGNAL(clicked()), this, SLOT(selectTemplatedir())); connect(templateDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); - connect(backupDirED, SIGNAL(textChanged(QString)), + + connect(exampleDirPB, SIGNAL(clicked()), this, SLOT(selectExampledir())); + connect(exampleDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); - connect(tempDirED, SIGNAL(textChanged(QString)), + + connect(backupDirPB, SIGNAL(clicked()), this, SLOT(selectBackupdir())); + connect(backupDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); + + connect(lyxserverDirPB, SIGNAL(clicked()), this, SLOT(selectLyxPipe())); connect(lyxserverDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); + + connect(thesaurusDirPB, SIGNAL(clicked()), this, SLOT(selectThesaurusdir())); connect(thesaurusDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); - connect(pathPrefixED, SIGNAL(textChanged(QString)), + + connect(tempDirPB, SIGNAL(clicked()), this, SLOT(selectTempdir())); + connect(tempDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); + + connect(hunspellDirPB, SIGNAL(clicked()), this, SLOT(selectHunspelldir())); connect(hunspellDirED, SIGNAL(textChanged(QString)), this, SIGNAL(changed())); + + connect(pathPrefixED, SIGNAL(textChanged(QString)), + this, SIGNAL(changed())); } -- 2.39.2