aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Code cleanup: unify QRegExp conversion.Jedrzej Nowacki2011-08-101-50/+1
| | | | | | | | | Remove duplicated code for QRegExp conversion. Change-Id: Ic0a6b68a317404ac6d1695f0220f257046b4ba80 Reviewed-on: http://codereview.qt.nokia.com/2703 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Add missing check in QJSValue::propertyJedrzej Nowacki2011-08-101-0/+2
| | | | | | | | | Only an object can have a property. Change-Id: I032cf3a08f777b6b47cb5a417fa796059bfc9ef5 Reviewed-on: http://codereview.qt.nokia.com/2702 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Code cleanup: unify string conversions.Jedrzej Nowacki2011-08-102-6/+5
| | | | | | | | | Unify string conversions when there is not any external string wrapper. Change-Id: I6665e33c968b9d1c6ad86595639967ddcd257667 Reviewed-on: http://codereview.qt.nokia.com/2701 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Code cleanup.Jedrzej Nowacki2011-08-101-8/+10
| | | | | | | | | Remove redundant else conditions. Change-Id: I5795bd931d9204a31e0edfea0d3489c119db1020 Reviewed-on: http://codereview.qt.nokia.com/2700 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Replace duplicated code by a function call.Jedrzej Nowacki2011-08-101-10/+1
| | | | | | | | | | According to comment the code was copied from QtScript. As the implementation is merged to QtDeclarative we can use common code path. Change-Id: Id603ef0207a1356f8c010a35fe601568a03aac48 Reviewed-on: http://codereview.qt.nokia.com/2699 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* QSGDistanceFieldGlyphCache code refactoring.Yoann Lopes2011-08-1011-159/+210
| | | | | | | | The distance field glyph caches are now contained in the QSGContext. Change-Id: Ifc5d155917314b1cc5905ef86fdad0bbc5635c7d Reviewed-on: http://codereview.qt.nokia.com/2787 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Add support for individual row and column spacing to Grid object.Glenn Watson2011-08-105-9/+142
| | | | | | | | | | | | | Add rowSpacing and columnSpacing properties to QML Grid object. If these are specified, use them when laying out the grid. If they are not specified, default to using the spacing property that was previously used, so it is backwards compatible. Task-number: QTBUG-11876 Change-Id: I5c809e89fe124d8d5ea1667b273f19e2c37ff18a Reviewed-on: http://codereview.qt.nokia.com/2797 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Make distance field text more easily configurable.Yoann Lopes2011-08-093-19/+39
| | | | | | | | | | Custom functions can be provided to compute the distance field threshold value and antialiasing range. Change-Id: Ie2ec8160d81671dedf72f0c72c3a5cbdf04d993a Reviewed-on: http://codereview.qt.nokia.com/2772 Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Add documentationAlan Alpert2011-08-0945-303/+7859
| | | | | | | | | Copy the documentation back to the scenegraph items, and update it to the new module syntax. Change-Id: I5d030a231f991a209a8593ddb069e1b6cd03580e Reviewed-on: http://codereview.qt.nokia.com/2735 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Copy the docs for QtQuick 1Alan Alpert2011-08-09350-113/+25719
| | | | | | Change-Id: Iaaaaaaa13726fa471f94fc7f809911164df24544 Reviewed-on: http://codereview.qt.nokia.com/2755 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Revise QDeclarativeChangeSet.Andrew den Exter2011-08-083-816/+1002
| | | | | | | | | | Represent moves as associated Removes and Inserts instead of discrete actions. Add API for applying a set of changes to another change set. Change-Id: Id97c1648c7480023dbfef325150bb81c2fea95c0 Reviewed-on: http://codereview.qt.nokia.com/2720 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Add combustion to examples launcherAlan Alpert2011-08-081-0/+1
| | | | | | | Change-Id: Ie6a7e825afac9a969a71487b93800180ff3be90d Reviewed-on: http://codereview.qt.nokia.com/2532 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* parse args earlierCharles Yin2011-08-081-3/+4
| | | | | | | Change-Id: Ie0869d3f70d1e898a9b0635e28bcad2e92fa607c Reviewed-on: http://codereview.qt.nokia.com/2718 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* remove app bundle config for macCharles Yin2011-08-081-2/+4
| | | | | | | Change-Id: I3b526dc556f714b5df712699f64b6bdc51971554 Reviewed-on: http://codereview.qt.nokia.com/2717 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Fix broken test (view did not have focus set)Bea Lam2011-08-081-0/+1
| | | | | | | Change-Id: I25e68df061510deadd946d1a034c114dfd0b4f1c Reviewed-on: http://codereview.qt.nokia.com/2715 Reviewed-by: Bea Lam <bea.lam@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* add dummy notify signals to remove warningsCharles Yin2011-08-081-3/+5
| | | | | | | Change-Id: Id8eca4ca2d72a1b3a4293d6ed19ef7f3fdb02d37 Reviewed-on: http://codereview.qt.nokia.com/2712 Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* don't create QApplication if there is already one thereCharles Yin2011-08-081-1/+5
| | | | | | Change-Id: Iaf9ebf6855992962abfb3452dc398149af15bbbc Reviewed-on: http://codereview.qt.nokia.com/2711 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Show header/footer if current index is set to first/last item or rowBea Lam2011-08-058-7/+119
| | | | | | | | Task-number: QTBUG-17853 Change-Id: I1d679cee31d6ee2a4bb2f2bf90f73eb12898189b Reviewed-on: http://codereview.qt.nokia.com/2664 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* ListView with StrictlyEnforceRange skips over itemsMartin Jones2011-08-052-2/+6
| | | | | | | | | | | | | | When list item size varies smaller items next to larger items may not be able to become the current item. Ensure the snap item is found using the correct range, i.e. half of previous item above snap pos and half of next item below. Change-Id: I52ae235e6b801bda48fcb636bb4150ab643715e8 Fixes: QTBUG-20745 Reviewed-on: http://codereview.qt.nokia.com/2650 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Add missing license headers.Jason McDonald2011-08-052-0/+82
| | | | | | | Change-Id: Ib71e988f6a0d87f1f9afe407e206eaa68137a537 Reviewed-on: http://codereview.qt.nokia.com/2604 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix outdated license headers.Jason McDonald2011-08-0525-393/+435
| | | | | | | Change-Id: I81fd41433b03b13befe0b5c68ec248ea71e8c235 Reviewed-on: http://codereview.qt.nokia.com/2596 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Don't cache model data in VisualDataModel.Andrew den Exter2011-08-0511-217/+358
| | | | | | | | | | | | | | | | VisualDataModel doesn't have any way to monitor the lifetime of objects cached other than relying on the source model to emit a changed signal. If the model doesn't do this or a pointer property is referenced after an item has been removed from the model then cache can return a stale pointer. This can be avoided by querying the model directly whenever a property is accessed. Task-number: QTBUG-18036 Change-Id: I7688174c2337cb5c0f77eb7d31a01f4aa958071b Reviewed-on: http://codereview.qt.nokia.com/2647 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Move shell example from QtScript to QtDeclarative.Jedrzej Nowacki2011-08-044-1/+167
| | | | | | | | | The example is interesting as debugging tool too. Change-Id: I9ba69a85f21b776bbfcc65469c8a0e90426f21fd Reviewed-on: http://codereview.qt.nokia.com/2495 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Remove dead code from QJSValuePrivateKent Hansen2011-08-042-21/+0
| | | | | | | | | | | reinitialize() was used to implement setGlobalObject() and setScriptClass() in the QtScript/V8 port, but those functions will not be part of the new JS API. Change-Id: I030d371659136a407636c7a13afe7623a60a2837 Reviewed-on: http://codereview.qt.nokia.com/2623 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
* Move QJSValue InvalidValue definition to "inline" headerKent Hansen2011-08-042-24/+23
| | | | | | | | | | | Avoid warning "inline function ‘QJSValuePrivate::QJSValuePrivate()’ used but never defined" when only qjsvalue_p.h is included for a compilation unit. Change-Id: I75bb49dedbfcedf5f71c25210371f03663572b46 Reviewed-on: http://codereview.qt.nokia.com/2620 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
* Add QIntrusiveList::contains() functionKent Hansen2011-08-042-0/+19
| | | | | | | | | QIntrusiveList is nice, but it needs a contains() function. Change-Id: I17adf63db080ffd39acac18cd8ecb23e48d76ed6 Reviewed-on: http://codereview.qt.nokia.com/2569 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Remove dead code.Jedrzej Nowacki2011-08-041-6/+0
| | | | | | | | | Structure was not used. Change-Id: Ib3a67f8a1850c211bb0b0700c10153eb9ab6441a Reviewed-on: http://codereview.qt.nokia.com/2583 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Fix ListView refill() where delegate size == 0Bea Lam2011-08-042-0/+57
| | | | | | | | | | | | | | | When refilling, if a delegate item is positioned at the start of the buffer, it should only be removed if its height is > 0. Otherwise refill() will constantly remove it in removeNonVisibleItems() and add it again in the next frame in addVisibleItems(). Regression from aa99d4f5cb4f1f512d1db90536752b518dbea449 Task-number: QTBUG-20712 Change-Id: I21d25fde21e0b559a378c9e202ace58947417a4d Reviewed-on: http://codereview.qt.nokia.com/2541 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Improved support for multiple to/from values in Transition.Michael Brasser2011-08-044-0/+12
| | | | | | | | | | | Trim the strings (previously "state1,state2" would work, but not "state1, state2", and document the feature. Task-number: QTBUG-14713 Change-Id: Ie0c5f803754751008c3e1bf766f08914f743338f Reviewed-on: http://codereview.qt.nokia.com/2592 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Rework threading internals in XmlListModel to avoid global staticBea Lam2011-08-041-91/+205
| | | | | | | | | | | | | | | | | | | QTBUG-20629 reports a crash on destruction of XmlListModel when cleaning up the global static for the QDeclarativeXmlQuery object. The fix restructures the internals to be like the threading structure used for QDeclarativePixmapReader which doesn't use a global static. Task-number: QTBUG-20629 Reviewed-by: Martin Jones (cherry picked from commit 422f4e8ec53b917fad09a3e671fd93048dde72ed in qt-qml-staging:master) Change-Id: Ic26164947abab67ec9d8f1ae68c20961e7af8a2b Reviewed-on: http://codereview.qt.nokia.com/2595 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Improve error messages from compiler for signals and slotsChris Adams2011-08-048-13/+17
| | | | | | | | | | | This commit ensures that correct line and column information is provided in some cases (duplicate signal or method name, etc). Task-number: QTBUG-15076 Change-Id: I483bdc92ef4f1d1d2ff565bb957385fd495672da Reviewed-on: http://codereview.qt.nokia.com/1619 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Honour the resettable flag of aliased propertiesChris Adams2011-08-0410-1/+238
| | | | | | | | | | | | | | Previously, alias properties were not considered isResettable even if the property they alias is resettable. This commit ensures that the IsResettable flag is set for alias properties iff the aliased property is resettable, and that it is honoured during property reset operations. Task-number: QTBUG-18182 Change-Id: I9cab11923a952df72e976a48489a78b24a34314f Reviewed-on: http://codereview.qt.nokia.com/1471 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Add enabled property to Transition.Michael Brasser2011-08-049-6/+199
| | | | | | | | Task-number: QTBUG-14488 Change-Id: I3619a0d26e99e2c19f50a63013dedc151b07154c Reviewed-on: http://codereview.qt.nokia.com/2591 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix crash in QDeclarativePropertyChris Adams2011-08-043-3/+13
| | | | | | | | | | | | | | This commit ensures that we don't attempt to dereference a null pointer in QDeclarativeProperty. It also fixes a unit test failure by adding appropriate test files. Related to commit 9f9b23fd7943a3d125cb1cc9f333ce430b2706ea Task-number: QTBUG-14697 Change-Id: Ic60521e46401835029e293349a00610342d0d58f Reviewed-on: http://codereview.qt.nokia.com/2538 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* TypoAaron Kennedy2011-08-041-1/+1
| | | | | | Change-Id: I8be86a999eed0cc028415027e888515377cd37ad Reviewed-on: http://codereview.qt.nokia.com/2461 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Improve QJSValueIterator implementation.Jedrzej Nowacki2011-08-038-138/+221
| | | | | | | | | | | The old implementation was a hack, it had some memory leak (in case of deleted engine) and performance problems (for example all names were copied to separate QList instance instead of reusing v8::Array). Change-Id: Ic70ad511127a8c05df3c627e4496083004c6452a Reviewed-on: http://codereview.qt.nokia.com/2512 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Remove FIXME from the v8base.priPeter Varga2011-08-031-4/+5
| | | | | | | | | | | | | | Check the version of gcc and use -fno-strict-aliasing flag when it's 4.5. Merge-request: 1 (This patch was cherry-pick from QtScript module) Reviewed-by: Jedrzej Nowacki <jedrzej.nowacki@nokia.com> Change-Id: I0086ec374c7cfd4c0842198734318c915c6cea8d Reviewed-on: http://codereview.qt.nokia.com/2515 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Add some guidelines for declaring objects as properties of Components.Andrew den Exter2011-08-033-3/+26
| | | | | | | | Task-number: QTBUG-20198 Change-Id: Id8ba8901be6c4f06974d1afd32f1932f867e2544 Reviewed-on: http://codereview.qt.nokia.com/2540 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Prevent Binding from crashing when its target object is deleted.Michael Brasser2011-08-036-8/+98
| | | | | | | | Task-number: QTBUG-20692 Change-Id: Ia9a3d532c45baf01b8c20c7aac9ef373942a75d8 Reviewed-on: http://codereview.qt.nokia.com/2531 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* qmltest: Fix SignalSpy to use TestUtil helper functionsCaio Marcelo de Oliveira Filho2011-08-031-1/+5
| | | | | | | | | | | Previously the callerFile() and callerLine() functions were exposed as properties of the QtTest module, but now they are available in the TestUtil component. TestCase was updated but SignalSpy wasn't. Change-Id: Ic3f35e6f096b28c443e8aadaa78732a8a15dc284 Reviewed-on: http://codereview.qt.nokia.com/2528 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Enable tst_QJSEngine::stacktrace test.Jedrzej Nowacki2011-08-021-21/+21
| | | | | | | | | The test can be enabled because QJSValueIterator is back. Change-Id: I33a84b0e584137ecff0d65c2a6152ca972e863f1 Reviewed-on: http://codereview.qt.nokia.com/2440 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Enable globalObjectProperties_enumerate test.Jedrzej Nowacki2011-08-021-11/+4
| | | | | | | | | The test can be enabled because QJSValueIterator is back. Change-Id: I81220ea17470663dab799eb818168480d2df1a54 Reviewed-on: http://codereview.qt.nokia.com/2439 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Introduced a CONFIG option that enables declarative debug servicesThorbjørn Lindeijer2011-08-026-7/+24
| | | | | | | | | | | | | | | | This replaces the need for applications to explicitly make a call to enable the debug services, and rather does it in declarative.h when the 'declarative_debug' CONFIG option is used. Done-with: Kai Koehne Reviewed-by: Martin Jones Reviewed-by: Michael Brasser (cherry picked from commit 5517cc588c39814530b8bfd957821f55be42acf2) Change-Id: Iacfc5a9b2ca0c2610288cf86f190b4a9950cacd1 Reviewed-on: http://codereview.qt.nokia.com/2436 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Add a currentItem property to PathView.Andrew den Exter2011-08-026-31/+129
| | | | | | | | Task-number: QTBUG-16347 Change-Id: I6df4b2d7c5f325e84d54ed5befd66e20b64cc7e0 Reviewed-on: http://codereview.qt.nokia.com/2421 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Cancel mousearea pressed state when window is deactivatedCharles Yin2011-08-027-1/+88
| | | | | | | | Change-Id: I1cc21c338576a2ac3b1e8e282e8e4de3bc63759a Task-number:QTBUG-19904 Reviewed-on: http://codereview.qt.nokia.com/2357 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Ensure that the prototype chain is checked in property GetChris Adams2011-08-027-18/+140
| | | | | | | | | | | | | | This commit ensures that the prototype chain is checked during property Get operations on QObjects and other types in QML by returning an empty handle from the property Get interceptor if no valid property with the given name is found. Task-number: QTBUG-20336 Change-Id: I670ee211c74c0fdcb68c3f91b29fcc0ea8b55d6f Reviewed-on: http://codereview.qt.nokia.com/1477 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Add support for comparing value-type propertiesChris Adams2011-08-0220-1/+790
| | | | | | | | | | | | This commit allows value-types to be compared with each other and with variants. It also adds a toString() function for each value type, to allow conversion to (and comparison with) string. Task-number: QTBUG-14731 Change-Id: I5bde2820917b2fe19b581724977398680617de34 Reviewed-on: http://codereview.qt.nokia.com/1636 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Fix content position for key navigation with StrictlyEnforceRangeBea Lam2011-08-024-2/+106
| | | | | | | | | | | | | | | | | | If a ListView had highlight ranges and StrictlyEnforceRange, but no highlight item, the content would not move to the correct position when incrementCurrentIndex() and decrementCurrentIndex() were invoked. trackedPositionChanged() shouldn't take the current section pos into account because this is already calculated by FxListItemSG::position() (this wasn't the case when the code in trackedPositionChanged() was originally written). Task-number: QTBUG-20287 Change-Id: I1624b5afd1efbe27630349143b7af2b486cfa260 Reviewed-on: http://codereview.qt.nokia.com/2429 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* sync.profile: remove dependency on qtscriptRohan McGovern2011-08-021-1/+0
| | | | | | | | | | Since d410ad364ec0b8877797145c68a4d7c3c98ce1c0, qtdeclarative does not depend on qtscript. Change-Id: I29f6eed7fa399fab16eae9493b0dae4ad4d505d7 Reviewed-on: http://codereview.qt.nokia.com/2406 Reviewed-by: Alan Alpert <alan.alpert@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Views with no delegate crash when items are inserted.Martin Jones2011-08-024-12/+12
| | | | | | | | | | | Check that we have a valid VisualModel before reacting to model changes. Change-Id: I6107e8fb8942a3625e501ab549a337f1affd4fbd Fixes: QTBUG-20640 Reviewed-on: http://codereview.qt.nokia.com/2481 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>