summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Support seperate versions of installed modulesmae2011-02-0912-13/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QML supports versioned types in modules. There's a version major and a version minor. This makes it possible to have a module com.organisation.fancycomponents with version 1.0, and later you could ship a new module com.organisation.fancycomponents which contains a more recent version 1.1 or 2.0 AND also the old versions to keep old code running. This is good. The problem is that this is difficult with certain QA procedures. It's hard to verify that a new module is indeed 100% compatible with the previous versions. The change extends the import mechanism by adding optional versioning to the component patch. With the patch, you can add a new module com.organisation.fancycomponents.2.0 which will be loaded when the QML file specifies "import com.organisation.fancycomponents 2.0". The patch works as follows: if you try to load com.organisation.fancycomponents in version 2.0, the engine first looks for com/organisation/fancycomponents.2.0, then for com/organisation/fancycomponents.2 then for com.organisation/fancycomponents. Reviewed-by: Aaron Kennedy Task-number: QTBUG-16455 (cherry picked from commit dd49b322b327fe87d8420abcce0e6cee877a88d7)
* QSqlTableModel/QSqlQueryModel and insertColumns problem.Michael Goddard2011-02-095-14/+223
| | | | | | | | | | | | | | | After inserting a column, fetching data through QSqlTableModel was off by one or more, since it passed the indexInQuery through to QSQM. Also, the headerData would sometimes return a blank string for an inserted column, and sometimes the column number. The autotests have been beefed up a little to check insertRows and insertColumns play nicely. Change-Id: I7399d4c4d94f958884b67ab9b39b5cf2485d8416 Task-number: QTBUG-12626 Reviewed-by: Charles Yin (cherry picked from commit 9c61e9a40e774fe32b16c133a5cdd6b9d9d29d83)
* Fix some removeRows issues with QSqlTableModel.Michael Goddard2011-02-092-24/+158
| | | | | | | | | Added some better unit testing around the problem areas. Change-Id: Ie4749da298aebbae6aec9558ebe8c8f2196c705f Task-number: QTBUG-14916 Reviewed-by: Charles Yin (cherry picked from commit bdd4a9149789f60974603e1f7621d51378f0a108)
* Namespace compilation - OCI typedefs should be outside Qt namespace.Michael Goddard2011-02-081-3/+3
| | | | | | | | | psql, sqlite2 drivers already do this correctly. Change-Id: I1f02401432d5c39fa1572e2f6255941b8a67e591 Task-number: QTBUG-17076 Reviewed-by: Charles Yin (cherry picked from commit 47a134b9a9136dc961dc5dd07e345aeb94b2d401)
* Update some documentation about what happens with select()/setQuery().Michael Goddard2011-02-082-0/+4
| | | | | | | Change-Id: I5f1afada766d40273526f2cd7537ad68d5f9d09a Task-number: QTBUG-12094 Reviewed-by: Charles Yin (cherry picked from commit 741a5114c2c6bf4d89068d861db90c456cce371b)
* Mention the requirement for OCI when building the SQL oracle driver.Michael Goddard2011-02-081-1/+3
| | | | | | | | | As suggested by Jean-Louis Mounier. Change-Id: I2284d00453ddcb981fe3e1b710d4453323fe1e9e Task-number: QTBUG-8875 Reviewed-by: Charles Yin (cherry picked from commit 594e46bdd36d2964c20cbc5a8de32abd5e343f43)
* Try to document that invalid database arguments use the default database.Michael Goddard2011-02-082-2/+4
| | | | | | | | | Some places documented this, some didn't. Change-Id: Id66678dbcd9af6ec9687db745ba6f5506e951d1d Task-number: QTBUG-3240 Reviewed-by: Charles Yin (cherry picked from commit d300e8208928084b62bbde01fb81bd66bc967bc8)
* Make sure that setRecord emits dataChanged() with OnManualSubmit.Michael Goddard2011-02-082-2/+10
| | | | | | | | | | Since the change is immediately visible through data(), this is needed so that QSortFilterProxyModel etc work correctly. Change-Id: Ied7afce2e6a1f516b502d3501f9d214df54e52f2 Task-number: QTBUG-14831 Reviewed-by: Charles Yin (cherry picked from commit 3bed865c35d8eb920ba5a68276fdf1690c834a64)
* Fix qt.sis platform dependencies for Symbian^3 builds.Miikka Heikkinen2011-02-041-5/+7
| | | | | | | | | Symbian^3 build of qt.sis is not compatible with pre-Symbian^3 devices, so remove the platform dependencies to said devices. Task-number: QTBUG-17150 Reviewed-by: Janne Koskinen (cherry picked from commit cf2f23225414893a7b061fadbde4739165f0c554)
* Fix QMutex can deadlock when calling tryLockOlivier Goffart2011-02-032-1/+42
| | | | | | | | | | | | | | in the unix code, if the QMutexPrivate::wait() with a timeout expires in the same moment that the mutex is released, wakeup would be set, but would be then ignored. (reset to false quickly after) If we waken up between the timeout and the re-aquisition of the internal mutex, we consider that the mutex has been locked. Reviewed-by: brad Task-number: QTBUG-16115 (cherry picked from commit 7987d4cfd3ce86c20a55b5661a5221f12246b27e)
* Fix potential networking crash due to null-pointer dereferenceSimon Hausmann2011-02-011-3/+3
| | | | | | | | | | | | | | | An internal bug report suggests that we unconditionally dereference the backend pointer in QNetworkReplyImpl when checking for the synchronity of the originating request. The dereferencing code was introduced in commit ad1e82323225e996720136e8b2d669166b8d8441. Unfortunately the report does not detail where/how the crash happened, but it appears plausible that the backend pointer became null, and the surrounding code that has extra checks suggests this, too. In an attempt of defensive programming this patch introduces the missing check in the reported line 112 as well as in other places where it seems appropriate. Reviewed-by: Peter Hartmann (cherry picked from commit bdf3782b40b0fc2ebfda960be08c90b549cfd970)
* Invalidate QScriptPrograms when engine is destroyedKent Hansen2011-01-314-7/+42
| | | | | | | | | | | | | | | | | | | If the engine is destroyed before the program, the program must be invalidated; otherwise the program destructor will access a stale engine pointer, which can cause a crash (it crashes on Symbian, but "only" gives a Valgrind warning on Linux for our autotests). We need to keep track of all associated programs, just like we already do for values and strings. This fix follows the exact same pattern, but uses a QSet to keep the patch minimal. No new tests, but the evaluateProgram() test runs successfully on Symbian now, and there are no more Valgrind warnings. Task-number: QTBUG-16987 Reviewed-by: Olivier Goffart (cherry picked from commit b127b1036ec75c625920a6c029b64a95e3702bf9)
* No longer replace dash and dot in TARGET with underscore in SymbianMiikka Heikkinen2011-01-315-81/+89
| | | | | | | | | | | | | | There is no fundamental reason to not have dash or dot in binary names in Symbian, so do not replace them with underscore. One thing that doesn't work with a dot in the filename is launching an application via resources, so automatic resource generation is suppressed for applications that have a dot in filename portion of the TARGET value. Task-number: QTBUG-16888 Reviewed-by: axis (cherry picked from commit 4ec245a3e75470186557d00b2383af3872a720b0)
* Fix alignment issue causing crash in QtScript/JavaScriptCoreKent Hansen2011-01-314-84/+76
| | | | | | | | | | | | | | | | | When creating a substring, JSC::UStringImpl required that the base string pointer was 8-byte aligned. However, on platforms where FastMalloc isn't enabled (such as Symbian), it's possible that the system malloc() returns a pointer that is only 4-byte aligned. (On Symbian, this can happen if the argument to malloc() itself isn't a multiple of 8.) Cherry-picked http://trac.webkit.org/changeset/54743 from WebKit trunk, which fixes this issue. (The commit happened shortly after we rebased QtScript/JSC for 4.7, so it applies cleanly to our copy.) Task-number: QTBUG-16828 Reviewed-by: Simon Hausmann (cherry picked from commit ead20f4c1edc2e1c5c39f47bf7c9e56600d6362b)
* Orientation control implementation for Symbianmread2011-01-313-3/+52
| | | | | | | | | | | | | | | | | | | | This used the orientation control QWidget attributes API from maemo5, and provides a simple implementation for Symbian. The essense of the implementation is that the latest setting of one of these QWidget orientation attributes will set the orientation for the whole app. Testing the attributes will return only the last attribute set, it will not return the app orientation state. A new task, QTBUG-16972, has been created to provide a more comprehensive implementation in the future. This may provide a more effective emulation of the maemo5 behaviour, or may incorporate further reaching concepts for QML rotations. Task-number: QTBUG-11785 Reviewed-by: Shane Kearns (cherry picked from commit e0489b905d6a31c7a904ca2b62a1e60cd12dba4f)
* Application background is incorrect if app locked to landscape.Sami Merila2011-01-281-4/+4
| | | | | | | | | | | | | | | | If application orientation has been locked to landscape and application is started out while device orientation is portrait, QS60Style draws the QPalette::background like device would be in landscape. Style is incorrectly following device orientation, when it should follow application orientation. As a fix, style follows now application orientation. As a bonus, unnecessary fullscreen QPixmap creation is avoided when rotating the device. Task-number: QTBUG-16816 Reviewed-by: Jani Hautakangas (cherry picked from commit 54313b3ba81c276cf06c40c2420b1ff1f30e64c3)
* add autotest for digest authenticationPeter Hartmann2011-01-261-10/+20
| | | | | | Reviewed-by: Markus Goetz Task-number: QTBUG-15070 (cherry picked from commit c6a6448272168f0105c973bef5e531114533fc90)
* Temporary fix for ambiguous cast from four letter char constantEckhart Koppen2011-01-261-2/+2
| | | | (cherry picked from commit cb38007cd3b253fb2e3a8587ae9e64080e707a31)
* Fix QMAKE_POST_LINK in Symbian for targets with special characters.Miikka Heikkinen2011-01-261-1/+1
| | | | | | | | | | Proper fixed targets was not used to generate the dependency for QMAKE_POST_LINK in symbian-sbsv2, causing post linking to happen before actual linking. Task-number: QTBUG-16881 Reviewed-by: axis (cherry picked from commit 41297f2d592ef21327b5c7523c52c1ecd3c727f4)
* Improved QMAKE_POST_LINK support in symbian-sbsv2Miikka Heikkinen2011-01-261-22/+34
| | | | | | | | | | | | | QMAKE_POST_LINK value handling now uses the same automatic replacements as QMAKE_EXTRA_COMPILERS and QMAKE_EXTRA_TARGETS handling. In practice this means that it is now possible to use $$QMAKE_COPY and friends in QMAKE_POST_LINK value also with symbian-sbsv2 mkspec, and that any backslashes in the value are assumed to be path separators and will be converted to forward slashes. Task-number: QTBUG-16753 Reviewed-by: Janne Koskinen (cherry picked from commit 9fec1802952457178a9b31c55b4c6e3ea60fcb80)
* QtScript/JSC on Symbian: Enhanced memory allocator for Collector heapKent Hansen2011-01-268-40/+303
| | | | | | | | | | Cherry-picked from http://trac.webkit.org/changeset/56370 The old allocator caused QML to crash in MCL (TB10.1, week 1). Task-number: QTBUG-14293 Reviewed-by: Simon Hausmann (cherry picked from commit 86a864f906d7dcda1b1ab04d1e25e7020a53be64)
* Fix cursor position adjustment when removing stringsJiang Jiang2011-01-262-1/+31
| | | | | | | | | | | | | | | Commit 0ba1b4d0 introduced a regression to QTextDocument: it postponed cursor position adjustment until the move operation is done, but contentsChanged will be triggered by finishEdit() in this move operation, thus cursor positions in this signal handler will be in inconsistent states (normally we should first update cursor position then trigger contentsChanged). In this case we should also postpone finishEdit() handling after cursor positions have been adjusted, then the states expose to applications will be consistent. Task-number: QTBUG-15857 Reviewed-by: Eskil (cherry picked from commit 34c297faca93e1286573b2a01127e4e7af00aff2)
* Fix loop count in animanted gifs sometimes being incorrectSimon Hausmann2011-01-251-2/+8
| | | | | | | | | Applied patch supplied in QT-4426, which also completes https://bugs.webkit.org/show_bug.cgi?id=36818 Task-number: QT-4426 Reviewed-by: Kim Motoyoshi Kalland <kim.kalland@nokia.com> (cherry picked from commit 14e7c8bf3982d05f6fc5c744ebbad791db6ab191)
* Fixed UTF-8 application names in device application menu in SymbianMiikka Heikkinen2011-01-251-0/+1
| | | | | | | | | | CHARACTER_SET UTF8 statement was missing from generated .rss file, causing localized application names containing UTF-8 characters to be rendered incorrectly. Task-number: QT-4476 Reviewed-by: axis (cherry picked from commit 7a5960b2991e9ac33bec0bb359ba825d0c4889af)
* HTTP: fix digest authenticationPeter Hartmann2011-01-251-18/+1
| | | | | | | | | no need to extract the realm from the user; with digest authentication the realm is an attribute of its own. Reviewed-by: Markus Goetz Task-number: QTBUG-15070 (cherry picked from commit 1137379e98cab8cc67fac70b31c97001c4473eb0)
* Avoid possible font name collisions on fbservAlessandro Portale2011-01-253-23/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QTBUG-6611 implemented the long awaited app font support on Symbian. One of the problems with the underlying Symbian Api for font loading is that all fonts go into one system wide font store on fbserv. All fonts are visible to and accessible by every application. And there is no way to find out if a font is an app font and whose process' app font it is. If a font with a certain family name is already loaded on fbserv, no other application can load its font with the same family name. If two applications access the same font, bad things can happen (details: QTBUG-16514). This patch works around naming collisions on the fbserv. It also prevents Qt applications from using other Qt applications' app fonts. It does so by "marking" the name of the temporary ttf file before the file gets loaded by fbserv. All font name strings in the font's 'name' table get a marker string appended. The marker is composed by a "Q", the uid3, and on Symbian^3|PR1&below the pid. The marker length is four characters. When the QFontDatabase is populated, all own app font names are cleand from the marker, so that the Qt app can use the original font name. Other applications' app fonts are detected and filtered out of the own font database. Symbian's font Api supports only 24 characters as names for font families. The name marker reduces the effective characters to 20. The reduced name length is documented for QFontDatabase::addApplication[FontFromData] as a note. Since the app font feature is much safer now, it got re-enabled for Symbian^1 and below by reverting 25ac59fcf1bb03c9af9a2c967218c96c7c77361a . Task-number: QTBUG-16514 (cherry picked from commit cfb7c16d738993fc8a594361f4bdf10e24fa754a)
* Fix crash in QtScript/JSC stack allocator on SymbianKent Hansen2011-01-251-0/+6
| | | | | | | | | | | | | | | | | | | | The reserved (virtual) size of the chunk is not necessarily a multiple of the "pool" size (the physical growth increment). The reserved size is only rounded up to a multiple of the page size (4K), not the pool size (64K). This meant that the commit of the _last_ part of the chunk could (and did) fail, because we tried to commit 64K while only a size <64K was remaining. Detect this case and reduce the requested size accordingly. Also add a call to CRASH() in case Commit() returns an error, to avoid obscure crashes in JSC at a later point (grow() must not fail). Task-number: QTBUG-16685 Reviewed-by: Simon Hausmann (cherry picked from commit 81941e4c5dcd18ef04b2b22dd3f1b4c04620647c)
* positionViewAtIndex can fail when positioned near end of list.Martin Jones2011-01-214-5/+18
| | | | | | | | | | We positioned the view beyond the bounds, which in some cases resulted in only one item being created. Combined with a bug in the bounds fixup very many items were created. Task-number: QT-4441 Reviewed-by: Michael Brasser (cherry picked from commit c3dd455b03a6c03011e2446f69fc262230e91639)
* BorderImage fails for .sci source containing a URLMartin Jones2011-01-213-5/+13
| | | | | | Task-number: QTBUG-16769 Reviewed-by: Bea Lam (cherry picked from commit 7ddec9f3179bfd854ae53e23ab292de1f9a26377)
* Fix memory leakAaron Kennedy2011-01-211-0/+5
| | | | | Task-number: QTBUG-16526 (cherry picked from commit 4f9c026a02c2ecf0d19e7aee4ecae82e64cbaee8)
* Request font sizes with only 0.5pt resolution.Martin Jones2011-01-216-20/+54
| | | | | | | | | When animating pointSize avoid generating a huge number of fonts with slightly different point sizes. Task-number: QTBUG-13960 Reviewed-by: Aaron Kennedy (cherry picked from commit f111e97adf93a933351eb5658b33a5820097757a)
* Revert "Fix loaded() signal to be emitted only once"Bea Lam2011-01-213-89/+67
| | | | | | | | | | This reverts commit 82ff3f484c7ec49e60b7fddf23794937974a6768. QTBUG-16796 reports that this commit is causing regressions relating to initial sizing of items. Task-number: QTBUG-16796 (cherry picked from commit 8c3086aa36b51a9731fce8eb8146b33ab8196aed)
* Build failure fix (related to QT-4079)Sami Merila2011-01-201-1/+1
| | | | | | | | | | | Change d281cea3a445aa244901decceffd7d653ed829c8 caused build failure, due to missing comma (one line missing from commit). Fixed by adding the missing change. Task-number: QT-4079 Reviewed-by: Miikka Heikkinen (cherry picked from commit 19b6e2b944a0d1eeef0fb707a00f567e4ee870e6)
* QWidgets support for VGA screenSami Merila2011-01-201-1/+3
| | | | | | | | Add pixelmetrics data for QS60Style to support VGA screensizes. Task-number: QT-4079 Reviewed-by: Miikka Heikkinen (cherry picked from commit d281cea3a445aa244901decceffd7d653ed829c8)
* Switch default Phonon backend on Symbian from Helix to MMFGareth Stockwell2011-01-201-12/+6
| | | | | | | | | If both plugins are present on a device, the MMF backend is now loaded by default. Task-number: QT-4472 Reviewed-by: Justin McPherson (cherry picked from commit 808de6fd2f9835c28986b86de829579196b6163d)
* TextEdit implicit size varied depending upon wrapMode.Martin Jones2011-01-201-2/+6
| | | | | | | | | We failed to reset textWidth before calculating the ideal width of the text. Task-number: QTBUG-16710 Reviewed-by: Michael Brasser (cherry picked from commit b481399c1c02a945e816f9385070883a0d795455)
* Fix compilation error.Jason McDonald2011-01-201-0/+2
| | | | | | | | | Protect #include of feature-specific header in #ifdef. Task-number: QTBUG-16652 Reviewed-by: Trust Me Acked-by: Jani Hautakangas (cherry picked from commit a2ebd9e3f84fb8fcd2be45e91a7c71f146961e23)
* Do not load aplication fonts on Symbian^1 and belowAlessandro Portale2011-01-201-0/+3
| | | | | | | | | | | | read http://bugreports.qt.nokia.com/browse/QTBUG-16514 for a recipy to reboot the phone just by handling with fonts. Symbian^1 is vulnerable, and Symbain^3 prevents a phone reboot. Therefore, I prefer to disable the app font feature for Symbian^1, until QTBUG-16514 us properly handled. Task-Number: QTBUG-16514 (cherry picked from commit 25ac59fcf1bb03c9af9a2c967218c96c7c77361a)
* Supporting Qt application fonts on SymbianAlessandro Portale2011-01-204-28/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch finally implements the missing application font support on Symbian. QFontDatabase's addApplicationFont[FromData], applicationFontFamilies and removeApplicationFont are now functional and allow an application to load, use and unload fonts at run-time. The underlying Symbian API comes with some restrictions/specialties. Most of them are worked around in this patch, the missing ones are left as part of QTBUG-16514: - The font file must be a file, not a memory buffer. Web fonts and qrc fonts come as memory buffers. These buffers are saved to a temporary .ttf file and the file is loaded by the underlying Symbian API. The temporary file can only be deleted after the font is unloaded. - The font file must be in a public location in order to be loadable by Symbian. It can for example not reside in the private application directory. Therefore, all application fonts (also those that are on the file system) become a temporary .ttf file in c:\temp\. - Symbian3/PR2 will come with a font table API which provides direct access to font tables. Symbian3/PR1 and below are missing this API, therefore, an own TFontStore is (ab)used to read font tables out of a font. This patch is considering both code paths in several occasions, making the Qt Symbian font implementation significantly less maintainable. - The fonts are loaded into Symbian's central font server. Loaded fonts from different processes can have colliding font typeface names (not file names) on that server. The server does not separate loaded fonts by their origin processes. Working around such collisions is part of QTBUG-16514. The number of fonts loadable at the same time by a Qt application is limited to the random value 5. Just to prevent abuse of the font server's memory. As usual, this patch was looked at by colleagues, and it was adjusted according to the feedback. But since the bus factor for the interaction of Qt's and Symbian's font systems is 1, I reviewed this patch, myself. Task-Number: QTBUG-6611 Autotest: tst_QFontDatabase::addAppFont (cherry picked from commit 770fb729929764a1f1c5fbd3d54714cf811c81e0)
* Fix a bug that got revealed by 604c51f1fc5c79b7fad12cda911b06b9e6e5005fJan-Arve Sæther2011-01-192-2/+29
| | | | | | | | | | | | | | | | | | | | | | | The bug has been around for a while, but change 604c51f1fc5c7 made it emerge. The problem was that stretches were combined by always *maxing* them. The values of 'stretch' can be interpreted as this: -1: (the default) it means that the items should be stretched with the stretch factor dervived from the size hints. (In practice this means that they are distributed fairly). 0: Means that the item should not be stretched >0: Means that the item should be stretch with that number as a factor. This meant that combining one item with a fixed size(0) and another item with a default stretch (-1) the combined row stretch would end up being fixed. This also fixes how stretches are combined for spanning items too. Task-number: QTBUG-13551 Reviewed-by: John Tapsell (cherry picked from commit 7fbf1829e11504eca6a55f1e5dbddf2f658b5302)
* Fix header not found build errorShane Kearns2011-01-181-1/+1
| | | | | Task-Number: QT-4378 (cherry picked from commit 1de7a573c1f407d5126cf6ee1e25b4f92cbdda3c)
* Workaround crash when multiple QNetworkAccessManager instances are usedShane Kearns2011-01-187-41/+188
| | | | | | | | | | | | | | | | | | | Instead of each QNetworkAccessManager owning a QNetworkSession, they now share a QNetworkSession if they have the same QNetworkConfiguration. QNetworkAccessManager now uses passive roaming instead of application level roaming. The state change signal (entering connected state) is used to indicate reconnection instead of being triggered when sending an ALR accept(). This preserves the previous behaviour, as QNAM always accepted the suggested access point from bearer mobility. In the case of multithreaded applications, one QNetworkSession will be created for each thread which uses QNetworkAccessManager, as QNetworkSession is not thread safe. Task-number: QT-4378 Reviewed-by: Markus Goetz Reviewed-by: juhvu (cherry picked from commit ec4b73992eb7fb7254bb7a1524b8691ef2123b9f)
* Fix to data detaching in OpenVG pixmap dataJani Hautakangas2011-01-181-2/+10
| | | | | | | | | | | | | QImage::converToFormat(format) won't detach QImage if format stays the same. Because of this, internal QImage buffer of QVGPixmapData was not deep copied. Drawing to QPixmap target modified the original QImage that was used to create QPixmap and in some cases crashed because paint engine referred to wrong target. Task-number: QT-4407 Reviewed-by: Jason Barron (cherry picked from commit b928bab9dde43cf3acace6dfae0ae6a4f6649650)
* Remove toolcheck from generic clean targets for symbian-sbsv2Miikka Heikkinen2011-01-181-3/+5
| | | | | | | | | | | | Toolcheck can cause generic clean fail (i.e. "make clean" or "make debug-clean") for e.g. environments where Carbide command line tools have not been installed, because sbsv2 toolchain does a check for all tools related to target platforms, even though they are not needed for actual cleaning. Task-number: QTBUG-16691 Reviewed-by: Janne Koskinen (cherry picked from commit c756d5cffdc31228b9ab9388c307bf4eb705b923)
* Don't crash Qt Creator when debugging an object aliasAaron Kennedy2011-01-181-1/+1
| | | | | Task-number: QTBUG-16131 (cherry picked from commit 3526db3b8832c357b368014e6c8ebab63d4071da)
* QTBUG-16110 updating the softkeys when app comes to foregroundmread2011-01-181-0/+3
| | | | | | | | | | | When an app is in the background and creates a window with softkeys, the softkeys are not updated when the app comes to the foreground, so they look faded. This change updates the softkeys when the app comes to the forground. Task-number: QTBUG-16110 Reviewed-by: Jason Barron (cherry picked from commit 37faa3ba7c66d14e1ecbf75e93d9f0d27fa57a76)
* Fix one character displacement for cursor in line editsMiikka Heikkinen2011-01-181-0/+2
| | | | | | | | | | | The variable m_inlinePosition was not updated when m_preeditString was cleared in QCoeFepInputContext. This resulted in cursor displaying up one character beyond where it logically should have been when using HW Qwerty keyboard on E7 and similar devices. Task-number: QTBUG-16238 Reviewed-by: axis (cherry picked from commit 81351f2c6f9a939e4c34cb3be6280d396c21941f)
* Fix double click event on Mac OS X.Fabien Freling2011-01-171-1/+3
| | | | | | | | | Fix an issue where the double click would be triggered even with different mouse buttons. Task-number: QTBUG-8222 Reviewed-by: Richard Moe Gustavsen (cherry picked from commit 4ea4bcc2ddea6fc6899c14bb50b22f58b51bf7ca)
* Proper fix for QGraphicsItem crash.Yoann Lopes2011-01-171-3/+2
| | | | | | | | See 8ffb49a4ac68b1c243b25343053e6e99f97ec2e7 Task-number: QTBUG-16374 Reviewed-by: TrustMe (cherry picked from commit 46ede046a34c822c612c55fdb1dc93dffe3fc6b6)
* fixed CI gate flagged spelling error: occured -> occurredJeremy Katz2011-01-171-1/+1
| | | | (cherry picked from commit c3d2d583121219836714609b250e4e52e33e393d)