Diffstat (limited to 'noncore/apps/oxygen/datawidgetui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/datawidgetui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/datawidgetui.cpp b/noncore/apps/oxygen/datawidgetui.cpp index 4dab109..422b6f8 100644 --- a/noncore/apps/oxygen/datawidgetui.cpp +++ b/noncore/apps/oxygen/datawidgetui.cpp | |||
@@ -34,18 +34,18 @@ dataWidgetUI::dataWidgetUI() : QWidget() | |||
34 | 34 | ||
35 | //read in all names of the 118 elements | 35 | //read in all names of the 118 elements |
36 | Config configobj( "oxygendata" ); | 36 | Config configobj( "oxygendata" ); |
37 | for ( int i = 1 ; i < 119 ; i++ ) | 37 | for ( int i = 1 ; i < 119 ; i++ ) |
38 | { | 38 | { |
39 | configobj.setGroup( QString::number( i ) ); | 39 | configobj.setGroup( QString::number( i ) ); |
40 | QString foo = configobj.readEntry( "Name" ); | 40 | QString foo = configobj.readEntry( "Name" ); |
41 | dataCombo->insertItem( foo ); | 41 | dataCombo->insertItem( foo ); |
42 | } | 42 | } |
43 | 43 | ||
44 | OxydataWidget *oxyDW = new OxydataWidget(this); | 44 | OxydataWidget *oxyDW = new OxydataWidget(this); |
45 | connect ( dataCombo, SIGNAL( activated(int) ), oxyDW, SLOT( setElement(int) ) ); | 45 | connect ( dataCombo, SIGNAL( activated(int) ), oxyDW, SLOT( setElement(int) ) ); |
46 | oxyDW->setElement( 1 ); | 46 | oxyDW->setElement( 0 ); |
47 | 47 | ||
48 | qgrid->addWidget( dataCombo, 0,0); | 48 | qgrid->addWidget( dataCombo, 0,0); |
49 | qgrid->addWidget( oxyDW , 1,0 ); | 49 | qgrid->addWidget( oxyDW , 1,0 ); |
50 | } | 50 | } |
51 | 51 | ||