mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-14 17:09:11 +02:00
QStringList::length() is avaoilable in Qt 4.5 and later, but Ubuntu Intrepid has older version without this function
This commit is contained in:
@@ -734,7 +734,7 @@ void ObjectManipulator::processKeywordSlot()
|
|||||||
if (qObj == 0) return;
|
if (qObj == 0) return;
|
||||||
const QAction *qAct = dynamic_cast<const QAction *>(qObj);
|
const QAction *qAct = dynamic_cast<const QAction *>(qObj);
|
||||||
QStringList list = qAct->data().toStringList();
|
QStringList list = qAct->data().toStringList();
|
||||||
if (list.length() != 2) return;
|
if (list.size() != 2) return;
|
||||||
|
|
||||||
if (fwbdebug) {
|
if (fwbdebug) {
|
||||||
qDebug() << "ObjectManipulator::processKeyword:" << list;
|
qDebug() << "ObjectManipulator::processKeyword:" << list;
|
||||||
|
|||||||
Reference in New Issue
Block a user