Make UTF-8 the default encoding for QString and tr()
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Feb 2015 23:15:26 +0000 (00:15 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Feb 2015 23:15:26 +0000 (00:15 +0100)
commit92807744f2baf77c6b7048b236c44d807c725f48
tree6cb195f074966ca76e3a1b84afe845e7c001b526
parenta83b00e50f8f27fbc17f3e3248d0d74c1e019252
Make UTF-8 the default encoding for QString and tr()

As all our source files are in UTF-8 (and Qt5 even requires them to
be), we can just tell Qt4 to treat them as that. So no need anymore
to use QString::fromUtf8() for literals.

This also makes it possible to use string literals in brace
initializers for QString.
src/common/main.cpp