Skip to content

Commit

Permalink
Clear search box undo history when clearing search private data
Browse files Browse the repository at this point in the history
Issue: 779
  • Loading branch information
kreed authored and Jakub Wieczorek committed Dec 27, 2009
1 parent 4b30215 commit a16c4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clearprivatedata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void ClearPrivateData::accept()
if (m_searchHistory->isChecked()) {
QList<BrowserMainWindow*> mainWindows = BrowserApplication::instance()->mainWindows();
for (int i = 0; i < mainWindows.count(); ++i) {
mainWindows.at(i)->toolbarSearch()->clear();
mainWindows.at(i)->toolbarSearch()->setText(QString());
}
}

Expand Down

0 comments on commit a16c4bf

Please sign in to comment.