Mercurial > hg > easyhg-kdiff3
diff kdiff3/src-QT4/smalldialogs.cpp @ 98:236f1c9c3fbf
- Fixed redundant empty line in history merge.
- Fixed inconsistency in directory view info area after scan.
- Fixed crash if trying to disable "Dir & Text Split Screen View" and no
file is loaded.
- Fixed test dialog for regular expressions.
author | joachim99 |
---|---|
date | Sat, 15 May 2010 20:36:52 +0000 |
parents | fcd146072e0c |
children | 7bca1f1340f6 |
line wrap: on
line diff
--- a/kdiff3/src-QT4/smalldialogs.cpp Sun Mar 28 19:52:18 2010 +0000 +++ b/kdiff3/src-QT4/smalldialogs.cpp Sat May 15 20:36:52 2010 +0000 @@ -416,15 +416,15 @@ l->setToolTip( autoMergeRegExpToolTip ); m_pAutoMergeRegExpEdit = new QLineEdit(this); pGrid->addWidget(m_pAutoMergeRegExpEdit,line,1); - connect( m_pAutoMergeRegExpEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pAutoMergeRegExpEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("Example auto merge line:"), this); - pGrid->addWidget(l,line,line,0,1); + pGrid->addWidget(l,line,0); l->setToolTip( i18n("For auto merge test copy a line as used in your files.") ); m_pAutoMergeExampleEdit = new QLineEdit(this); pGrid->addWidget(m_pAutoMergeExampleEdit,line,1); - connect( m_pAutoMergeExampleEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pAutoMergeExampleEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("Match result:"), this); @@ -443,17 +443,16 @@ l->setToolTip( historyStartRegExpToolTip ); m_pHistoryStartRegExpEdit = new QLineEdit(this); pGrid->addWidget(m_pHistoryStartRegExpEdit,line,1); - connect( m_pHistoryStartRegExpEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pHistoryStartRegExpEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("Example history start line (with leading comment):"), this); - pGrid->addWidget(l,line,line,0,1); - ++line; + pGrid->addWidget(l,line,0); l->setToolTip( i18n("Copy a history start line as used in your files,\n" "including the leading comment.") ); m_pHistoryStartExampleEdit = new QLineEdit(this); pGrid->addWidget(m_pHistoryStartExampleEdit,line,1); - connect( m_pHistoryStartExampleEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pHistoryStartExampleEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("Match result:"), this); @@ -472,7 +471,7 @@ l->setToolTip( historyEntryStartRegExpToolTip ); m_pHistoryEntryStartRegExpEdit = new QLineEdit(this); pGrid->addWidget(m_pHistoryEntryStartRegExpEdit,line,1); - connect( m_pHistoryEntryStartRegExpEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pHistoryEntryStartRegExpEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("History sort key order:"), this); @@ -480,17 +479,16 @@ l->setToolTip( historySortKeyOrderToolTip ); m_pHistorySortKeyOrderEdit = new QLineEdit(this); pGrid->addWidget(m_pHistorySortKeyOrderEdit,line,1); - connect( m_pHistorySortKeyOrderEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pHistorySortKeyOrderEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("Example history entry start line (without leading comment):"), this); - pGrid->addWidget(l,line,line,0,1); + pGrid->addWidget(l,line,0); l->setToolTip( i18n("Copy a history entry start line as used in your files,\n" "but omit the leading comment.") ); - ++line; m_pHistoryEntryStartExampleEdit = new QLineEdit(this); pGrid->addWidget(m_pHistoryEntryStartExampleEdit,line,1); - connect( m_pHistoryEntryStartExampleEdit, SIGNAL(editTextChanged(const QString&)), this, SLOT(slotRecalc())); + connect( m_pHistoryEntryStartExampleEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotRecalc())); ++line; l = new QLabel(i18n("Match result:"), this);