Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
d205ccc8
Commit
d205ccc8
authored
May 03, 2010
by
Robert Loehning
Browse files
Fixed adding of new file patterns to combo box in advanced find dialog
Task-Nr: QTCREATORBUG-1329
parent
d5cdca00
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basefilefind.cpp
View file @
d205ccc8
...
...
@@ -92,7 +92,7 @@ void BaseFileFind::findAll(const QString &txt, QTextDocument::FindFlags findFlag
m_isSearching
=
true
;
emit
changed
();
if
(
m_filterCombo
)
updateComboEntries
(
m_filterCombo
,
fals
e
);
updateComboEntries
(
m_filterCombo
,
tru
e
);
m_watcher
.
setFuture
(
QFuture
<
FileSearchResult
>
());
SearchResult
*
result
=
m_resultWindow
->
startNewSearch
();
connect
(
result
,
SIGNAL
(
activated
(
Find
::
SearchResultItem
)),
this
,
SLOT
(
openEditor
(
Find
::
SearchResultItem
)));
...
...
@@ -114,7 +114,7 @@ void BaseFileFind::replaceAll(const QString &txt, QTextDocument::FindFlags findF
m_isSearching
=
true
;
emit
changed
();
if
(
m_filterCombo
)
updateComboEntries
(
m_filterCombo
,
fals
e
);
updateComboEntries
(
m_filterCombo
,
tru
e
);
m_watcher
.
setFuture
(
QFuture
<
FileSearchResult
>
());
SearchResult
*
result
=
m_resultWindow
->
startNewSearch
(
SearchResultWindow
::
SearchAndReplace
);
connect
(
result
,
SIGNAL
(
activated
(
Find
::
SearchResultItem
)),
this
,
SLOT
(
openEditor
(
Find
::
SearchResultItem
)));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment