comparison ui/certificatetabledelegate.cpp @ 354:c9315b24b055

Removed debug output.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 10 Apr 2014 15:57:26 +0200
parents dde533ba4fcc
children 9ba7b4b4c1de
comparison
equal deleted inserted replaced
353:666abcfab229 354:c9315b24b055
52 return; 52 return;
53 } 53 }
54 // Get the current value from the model. 54 // Get the current value from the model.
55 QString value = index.data(Qt::DisplayRole).toString(); 55 QString value = index.data(Qt::DisplayRole).toString();
56 56
57 qDebug() << "model value is: " + index.data(Qt::DisplayRole).toString();
58 // Find the index in comboxbox items and set the current index. 57 // Find the index in comboxbox items and set the current index.
59 QComboBox *comboBox = static_cast<QComboBox*>(editor); 58 QComboBox *comboBox = static_cast<QComboBox*>(editor);
60 int ndx = comboBox->findData(value, Qt::UserRole); 59 int ndx = comboBox->findData(value, Qt::UserRole);
61 comboBox->setCurrentIndex(ndx); 60 comboBox->setCurrentIndex(ndx);
62 } 61 }

http://wald.intevation.org/projects/trustbridge/