Bug 71708 - environment variable editor dialog has wrong parent
Summary: environment variable editor dialog has wrong parent
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 00:42 UTC by Jon Smirl
Modified: 2005-03-01 18:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 )