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
d03b5714
Commit
d03b5714
authored
Apr 24, 2009
by
dt
Browse files
Fix obscure crash in Find when no FindFilter exist.
Can only happpen if the user disables all plugins...
parent
fefe6b37
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/find/findtoolwindow.cpp
View file @
d03b5714
...
...
@@ -136,7 +136,7 @@ void FindToolWindow::writeSettings()
{
QSettings
*
settings
=
Core
::
ICore
::
instance
()
->
settings
();
settings
->
beginGroup
(
"Find"
);
settings
->
setValue
(
"CurrentFilter"
,
m_currentFilter
->
id
());
settings
->
setValue
(
"CurrentFilter"
,
m_currentFilter
?
0
:
m_currentFilter
->
id
());
foreach
(
IFindFilter
*
filter
,
m_filters
)
filter
->
writeSettings
(
settings
);
settings
->
endGroup
();
...
...
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