Diffstat (limited to 'noncore/apps/oxygen/dataTable.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp index 951788b..46eaeba 100644 --- a/noncore/apps/oxygen/dataTable.cpp +++ b/noncore/apps/oxygen/dataTable.cpp | |||
@@ -27,11 +27,8 @@ | |||
27 | 27 | ||
28 | #include <qstringlist.h> | 28 | #include <qstringlist.h> |
29 | 29 | ||
30 | OxydataWidget::OxydataWidget(QWidget *parent, const char *name, const QStringList &list ) : QWidget( parent,name ) | 30 | OxydataWidget::OxydataWidget(QWidget *parent, const char *name, const QStringList &list ) : QWidget( parent,name ), names( list ) |
31 | { | 31 | { |
32 | names = list; | ||
33 | QStringList::ConstIterator it = names.at(10); | ||
34 | qDebug( *it ); | ||
35 | QGridLayout *qgrid = new QGridLayout( this, 2,1 ); | 32 | QGridLayout *qgrid = new QGridLayout( this, 2,1 ); |
36 | 33 | ||
37 | QHBox *hbox = new QHBox( this ); | 34 | QHBox *hbox = new QHBox( this ); |
@@ -56,8 +53,7 @@ OxydataWidget::OxydataWidget(QWidget *parent, const char *name, const QStringLis | |||
56 | 53 | ||
57 | void OxydataWidget::setElement( int el ) | 54 | void OxydataWidget::setElement( int el ) |
58 | { | 55 | { |
59 | QStringList::ConstIterator it = names.at(el+1); | 56 | QStringList::ConstIterator it = names.at(el); |
60 | qDebug( *it ); | ||
61 | Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); | 57 | Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); |
62 | 58 | ||
63 | configobj.setGroup( QString::number( el+1 )); | 59 | configobj.setGroup( QString::number( el+1 )); |