mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-23 17:39:35 +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;
|
||||
const QAction *qAct = dynamic_cast<const QAction *>(qObj);
|
||||
QStringList list = qAct->data().toStringList();
|
||||
if (list.length() != 2) return;
|
||||
if (list.size() != 2) return;
|
||||
|
||||
if (fwbdebug) {
|
||||
qDebug() << "ObjectManipulator::processKeyword:" << list;
|
||||
|
||||
Reference in New Issue
Block a user