forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.10'
Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/plugins/projectexplorer/gcctoolchain.cpp src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp Change-Id: Iffdf48e782a734107ea170ebb3812e997cea0e7b
This commit is contained in:
@@ -450,6 +450,10 @@ void PathChooser::slotBrowse()
|
||||
break;
|
||||
}
|
||||
|
||||
// work around QTBUG-61004 / QTCREATORBUG-22906
|
||||
window()->raise();
|
||||
window()->activateWindow();
|
||||
|
||||
// Delete trailing slashes unless it is "/"|"\\", only
|
||||
if (!newPath.isEmpty()) {
|
||||
newPath = QDir::toNativeSeparators(newPath);
|
||||
|
||||
Reference in New Issue
Block a user