author | cniehaus <cniehaus> | 2002-11-23 11:52:31 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-11-23 11:52:31 (UTC) |
commit | e0eed335b15857afcb72aa232a089dcd04f68695 (patch) (unidiff) | |
tree | d090c151855b5674eb46a7a1290f4e2ec8b453ef | |
parent | 1aa77f5f197f63ba9a154fdcae9d6f55eebe12a0 (diff) | |
download | opie-e0eed335b15857afcb72aa232a089dcd04f68695.zip opie-e0eed335b15857afcb72aa232a089dcd04f68695.tar.gz opie-e0eed335b15857afcb72aa232a089dcd04f68695.tar.bz2 |
only display the elements that exist ;)
-rw-r--r-- | noncore/apps/oxygen/psewidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp index d742e9c..2fd61bc 100644 --- a/noncore/apps/oxygen/psewidget.cpp +++ b/noncore/apps/oxygen/psewidget.cpp | |||
@@ -31,13 +31,13 @@ PSEWidget::PSEWidget() : QWidget() | |||
31 | QVBoxLayout *vlay = new QVBoxLayout( this ); | 31 | QVBoxLayout *vlay = new QVBoxLayout( this ); |
32 | 32 | ||
33 | QGridLayout *grid = new QGridLayout( 18,10 ); | 33 | QGridLayout *grid = new QGridLayout( 18,10 ); |
34 | int h=0, v=0; | 34 | int h=0, v=0; |
35 | 35 | ||
36 | Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); | 36 | Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); |
37 | for( int n = 0 ; n < 118 ; n++ ) | 37 | for( int n = 0 ; n < 109 ; n++ ) |
38 | { | 38 | { |
39 | configobj.setGroup( QString::number( n+1 )); | 39 | configobj.setGroup( QString::number( n+1 )); |
40 | 40 | ||
41 | position( n+1,h,v ); | 41 | position( n+1,h,v ); |
42 | QList<OxyFrame> PSEframe; | 42 | QList<OxyFrame> PSEframe; |
43 | PSEframe.append( new OxyFrame( this , QString::number(n), configobj.readEntry( "Symbol" ) ) ); | 43 | PSEframe.append( new OxyFrame( this , QString::number(n), configobj.readEntry( "Symbol" ) ) ); |