GUI: Fix modality of Application dialog when editing application.

This commit is contained in:
Kimmo Varis 2010-10-28 22:32:01 +03:00
parent 3ad4067262
commit 6b017f6a2c
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
<ui version="4.0">
<class>ApplicationDialog</class>
<widget class="QDialog" name="ApplicationDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>

View File

@ -165,7 +165,7 @@ void SettingsDialog::ModifyApplication()
ApplicationDialog dialog(mTempApplications->GetApplicationName(row),
mTempApplications->GetApplicationPath(row),
tr("Modify an application"));
tr("Modify an application"), this);
if (dialog.exec() == QDialog::Accepted)
{