dolphin/Source/Core/DolphinQt/QtUtils
Lioncash fef1b84f0a DolphinQt: Replace QStringLiteral with alternatives where applicable
QStringLiterals generate a buffer so that during runtime there's very
little cost to constructing a QString. However, this also means that
duplicated strings cannot be optimized out into a single entry that gets
referenced everywhere, taking up space in the binary.

Rather than use QStringLiteral(""), we can just use QString{} (the
default constructor) to signify the empty string. This gets rid of an
unnecessary string buffer from being created, saving a tiny bit of
space.

While we're at it, we can just use the character overloads of particular
functions when they're available instead of using a QString overload.
The characters in this case are Latin-1 to begin with, so we can just
specify the characters as QLatin1Char instances to use those overloads.
These will automatically convert to QChar if needed, so this is safe.
2019-07-30 09:06:03 -04:00
..
AspectRatioWidget.cpp
AspectRatioWidget.h
BlockUserInputFilter.cpp DolphinQt: Fix mapping of space, return, and mouse-clicks from immediately re-activating detection. 2019-04-28 08:34:47 -05:00
BlockUserInputFilter.h DolphinQt: Fix mapping of space, return, and mouse-clicks from immediately re-activating detection. 2019-04-28 08:34:47 -05:00
DoubleClickEventFilter.cpp DolphinQt: Fix unused widgets in InfoWidget from being visible. 2019-03-23 20:20:09 -05:00
DoubleClickEventFilter.h DolphinQt: Fix unused widgets in InfoWidget from being visible. 2019-03-23 20:20:09 -05:00
ElidedButton.cpp DolphinQt: Fix ElidedButton (MappingButton) from growing with long text. 2019-03-03 17:41:48 -06:00
ElidedButton.h DolphinQt: Replace QStringLiteral with alternatives where applicable 2019-07-30 09:06:03 -04:00
FileOpenEventFilter.cpp QtGui: Handle file open events 2019-06-15 11:27:29 +02:00
FileOpenEventFilter.h QtGui: Handle file open events 2019-06-15 11:27:29 +02:00
FlowLayout.cpp NetPlay: Improve settings synchronization and UI 2018-07-26 17:23:04 -04:00
FlowLayout.h NetPlay: Improve settings synchronization and UI 2018-07-26 17:23:04 -04:00
ImageConverter.cpp
ImageConverter.h
ModalMessageBox.cpp ModalMessageBox: Remove superfluous buttons and ensure correct parent 2019-03-11 18:24:59 +01:00
ModalMessageBox.h QtUtils: Add ModalMessageBox 2019-03-04 21:48:23 +01:00
QueueOnObject.h
RunOnObject.h
SignalDaemon.cpp
SignalDaemon.h
WindowActivationEventFilter.cpp DolphinQt: Fix unused widgets in InfoWidget from being visible. 2019-03-23 20:20:09 -05:00
WindowActivationEventFilter.h DolphinQt: Fix unused widgets in InfoWidget from being visible. 2019-03-23 20:20:09 -05:00
WinIconHelper.cpp
WinIconHelper.h
WrapInScrollArea.cpp Fix QComboBox background and transparency workaround on macOS 2019-02-26 17:03:38 -05:00
WrapInScrollArea.h