forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.1'
Conflicts: src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp Change-Id: Icce6e8dd9b3afd9a0fe836e9babfb7a17cee9c4d
This commit is contained in:
@@ -901,9 +901,14 @@ void DocumentManager::checkForReload()
|
||||
{
|
||||
if (d->m_changedFiles.isEmpty())
|
||||
return;
|
||||
if (!QApplication::activeWindow() || QApplication::activeModalWidget())
|
||||
if (!QApplication::activeWindow())
|
||||
return;
|
||||
|
||||
if (QApplication::activeModalWidget()) { // a modal dialog, recheck later
|
||||
QTimer::singleShot(200, this, SLOT(checkForReload()));
|
||||
return;
|
||||
}
|
||||
|
||||
if (d->m_blockActivated)
|
||||
return;
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ QList<LocatorFilterEntry> OpenDocumentsFilter::matchesFor(QFutureInterface<Core:
|
||||
QString displayName = editorEntry.displayName();
|
||||
if (regexp.exactMatch(displayName)) {
|
||||
QFileInfo fi(fileName);
|
||||
LocatorFilterEntry fiEntry(this, fi.fileName(), QString(fileName + lineNoSuffix));
|
||||
LocatorFilterEntry fiEntry(this, displayName, QString(fileName + lineNoSuffix));
|
||||
fiEntry.extraInfo = FileUtils::shortNativePath(FileName(fi));
|
||||
fiEntry.fileName = fileName;
|
||||
QList<LocatorFilterEntry> &category = displayName.startsWith(entry, caseSensitivityForPrefix)
|
||||
|
||||
Reference in New Issue
Block a user