forked from qt-creator/qt-creator
Add "Find in directory" to project tree context menu
And also to the filesystem view. Task-Nr: QTCREATORBUG-5879 Change-Id: I27bfe05808182f56deafd6ceab474894631f0a26 Reviewed-on: http://codereview.qt.nokia.com/4185 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
b09f527f24
commit
b8b8f167b1
@@ -43,7 +43,7 @@
|
||||
#include <QtGui/QVBoxLayout>
|
||||
|
||||
using namespace Find;
|
||||
using namespace TextEditor::Internal;
|
||||
using namespace TextEditor;
|
||||
|
||||
FindInFiles::FindInFiles(SearchResultWindow *resultWindow)
|
||||
: BaseFileFind(resultWindow),
|
||||
@@ -145,3 +145,9 @@ void FindInFiles::readSettings(QSettings *settings)
|
||||
settings->endGroup();
|
||||
syncComboWithSettings(m_directory, m_directorySetting);
|
||||
}
|
||||
|
||||
void FindInFiles::setDirectory(const QString &directory)
|
||||
{
|
||||
syncComboWithSettings(m_directory, directory);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user