Bug 71708

Summary: environment variable editor dialog has wrong parent
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jon Smirl 2004-01-03 00:42:18 UTC
Version:           CVS (using KDE Devel)

In project options, run options.
The add/edit environment dialog has the main app for it's parent instead of the run options dialog.

The effect is that if you click on the run options dialog the environment dialog can get behind it. Settting the parent to the run dialog will fix this.

Same problem is under build options/make too.

Actually all of the subdialogs under Project Options have this problem.
Comment 1 Matt Rogers 2005-03-01 18:10:52 UTC
CVS commit by mattr: 

Give the environment variables dialogs a parent so they can't get hidden
behind other windows.

BUG: 71708

Will backport to kdevelop 3.2.1 after the branch is reopened.


  M +2 -2      environmentvariableswidget.cpp   1.6.2.1


--- kdevelop/buildtools/lib/widgets/environmentvariableswidget.cpp  #1.6:1.6.2.1
@@ -31,5 +31,5 @@
 void EnvironmentVariablesWidget::addVarClicked()
 {
-    AddEnvvarDialog dlg;
+    AddEnvvarDialog dlg( this, "add env dialog" ) ;
     if (QListViewItem *Item = listview->selectedItem())
     {
@@ -46,5 +46,5 @@ void EnvironmentVariablesWidget::addVarC
 void EnvironmentVariablesWidget::editVarClicked()
 {
-    AddEnvvarDialog dlg;
+    AddEnvvarDialog dlg( this, "edit env dialog" );
     QListViewItem *item = listview->selectedItem();
     if (  !item )