1
0
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:
Vadim Kurland
2011-06-20 22:23:33 -07:00
parent 70a5b9ac7c
commit 3d77e16144

View File

@@ -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;