Commit 4d8059f6 authored by Robert Loehning's avatar Robert Loehning

Provide parent to getOpenFileName()

Change-Id: Ie7bda58e1a2bf288fa89932cd2b07be091f312a4
Reviewed-by: default avatarThomas Hartmann <>
parent c8881e7c
......@@ -93,7 +93,8 @@ void FileWidget::comboBoxChanged()
void FileWidget::onButtonReleased()
QString newFile = QFileDialog::getOpenFileName(0, tr("Open File"), m_path.toLocalFile(), m_filter);
QString newFile = QFileDialog::getOpenFileName(this, tr("Open File"),
m_path.toLocalFile(), m_filter);
if (!newFile.isEmpty())
Markdown is supported
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