diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-22 14:25:37 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-22 14:27:41 -0300 |
commit | 3e51476d8757752ccfa908d54b4f2425d908c839 (patch) | |
tree | 0b2d965d03f4af663c64e654f5a39fcd58ef554e /qt-ui/modeldelegates.cpp | |
parent | f73660cc0916bd52adfeaeb97c836176431b7d97 (diff) | |
download | subsurface-3e51476d8757752ccfa908d54b4f2425d908c839.tar.gz |
Removed unused debug, and set the correct data on the delegates.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/modeldelegates.cpp')
-rw-r--r-- | qt-ui/modeldelegates.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp index 0164deedc..c05e59ea8 100644 --- a/qt-ui/modeldelegates.cpp +++ b/qt-ui/modeldelegates.cpp @@ -54,7 +54,6 @@ QWidget* TankInfoDelegate::createEditor(QWidget* parent, const QStyleOptionViewI QComboBox *comboDelegate = new QComboBox(parent); TankInfoModel *model = new TankInfoModel; QString data = index.model()->data(index, Qt::DisplayRole).toString(); - qDebug() << "Tentando pegar " << data; comboDelegate->setModel(model); int i; for(i = 0; i < model->rowCount(); i++){ |