qt5base-lts/tests/auto
Marc Mutz be94e009ae QFileDialog: optimize string handling in qt_tildeExpansion
- Instead of QString::split()-ing the path, just to inspect the
  first item in the list returned, simply find the location of
  the first separator and work with that.
  -> saves creating a QList, and its QString elements
  -> saves attempted detaches of that list when calling
     first()
- When extracting the user name, don't do it in a QString, do
  it in a QStringRef.
- When constructing the result, don't use QString::replace(),
  use QStringBuilder with a QStringRef into the original string.
- Eradicate the out parameter, it is easily calculated from the
  return value.
- Don't calculate userName on VXWORKS and INTEGRITY, where it
  is not used. Requires a different #ifdef sequence. Fixed
  preprocessor directives' indention as a drive-by.

Costs 84b in text size on optimized GCC 4.9 Linux AMD64 builds.

Change-Id: I61f1e8d558db7fb0c5c1170bdfd6f5ac1f1a9e62
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-01-01 23:32:13 +00:00
..
android Fix typo in test results report for android 2015-07-28 21:16:19 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake CMake: Fix regression with quoted OPTIONS parameter 2015-03-11 07:31:33 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
corelib Add qHash(std::pair) 2015-12-30 11:37:53 +00:00
dbus Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
gui Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
opengl Remove insignificant flag for a platform not supported 2015-11-29 07:02:20 +00:00
other Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
printsupport Merge remote-tracking branch 'origin/5.6' into dev 2015-11-18 09:01:51 +01:00
shared Fix kerned advances in QRawFont on OS X and Windows 2015-11-25 19:53:46 +00:00
sql Merge remote-tracking branch 'origin/5.6' into dev 2015-11-23 07:13:00 +01:00
testlib Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
tools Merge remote-tracking branch 'origin/5.6' into dev 2015-12-18 08:37:31 +01:00
widgets QFileDialog: optimize string handling in qt_tildeExpansion 2016-01-01 23:32:13 +00:00
xml Merge remote-tracking branch 'origin/5.6' into dev 2015-11-04 20:18:14 +01:00
auto.pro Merge remote-tracking branch 'origin/5.6' into dev 2015-09-25 14:02:04 +02:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00