Commit 4d8a210c authored by Robert Loehning's avatar Robert Loehning
Browse files

Provide parent to getOpenFileName() in ShortcutSettings

Task-number: QTCREATORBUG-11387

Change-Id: I3d17a85ee16dcb3af56928cfaa61ea4b9b875ead
Reviewed-by: default avatarEike Ziller <>
parent 65087004
......@@ -172,7 +172,7 @@ void ShortcutSettings::removeTargetIdentifier()
void ShortcutSettings::importAction()
QString fileName = QFileDialog::getOpenFileName(0, tr("Import Keyboard Mapping Scheme"),
QString fileName = QFileDialog::getOpenFileName(widget(), tr("Import Keyboard Mapping Scheme"),
ICore::resourcePath() + QLatin1String("/schemes/"),
tr("Keyboard Mapping Scheme (*.kms)"));
if (!fileName.isEmpty()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment