summaryrefslogtreecommitdiff
path: root/src/plugins/find/findplugin.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2009-05-29 16:12:19 +0200
committercon <qtc-committer@nokia.com>2009-05-29 17:03:10 +0200
commitc49412ac3acd672dd66af43be035e028303e241d (patch)
treef2bc29c3ec25d163847e9ca61df9eed1a0423bf5 /src/plugins/find/findplugin.cpp
parent592b0d7c640b61410e27d2decd8b23aad3f3d07b (diff)
downloadqt-creator-c49412ac3acd672dd66af43be035e028303e241d.tar.gz
Prepare for being able to add find flags that are not in QTextDocument
Diffstat (limited to 'src/plugins/find/findplugin.cpp')
-rw-r--r--src/plugins/find/findplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/find/findplugin.cpp b/src/plugins/find/findplugin.cpp
index 37f8532666..4df824d085 100644
--- a/src/plugins/find/findplugin.cpp
+++ b/src/plugins/find/findplugin.cpp
@@ -248,6 +248,7 @@ void FindPlugin::writeSettings()
settings->setValue("FindStrings", m_findCompletions);
settings->setValue("ReplaceStrings", m_replaceCompletions);
settings->endGroup();
+ m_findToolBar->writeSettings();
m_findDialog->writeSettings();
}
@@ -265,6 +266,7 @@ void FindPlugin::readSettings()
m_findCompletionModel->setStringList(m_findCompletions);
m_replaceCompletionModel->setStringList(m_replaceCompletions);
settings->endGroup();
+ m_findToolBar->readSettings();
m_findDialog->readSettings();
emit findFlagsChanged(); // would have been done in the setXXX methods above
}