QDBus: avoid relocations
authorMarc Mutz <marc.mutz@kdab.com>
Tue, 1 Oct 2013 21:04:47 +0000 (23:04 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 13 Feb 2014 23:34:25 +0000 (00:34 +0100)
commitf530942fe4733d9002286aa1561a08a989630f28
tree0d0e7b5a6e847b8a6a9c1d184647994e00c1ab6e
parent2223cc8a2d91968951432f337fa4737cf792d514
QDBus: avoid relocations

Instead of using Q_STRINGTABLE, use a switch/if construct
to be able to share the string data for "write" and "readwrite".

Change-Id: Ia1c7b8a0f13a809372de2e5a956978dc2d569e92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/dbus/qdbusxmlgenerator.cpp