summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-08-08 12:25:30 +1000
committerGitHub <noreply@github.com>2019-08-08 12:25:30 +1000
commit1bd8f033627ceef8479cb549447782ae860574c2 (patch)
treebfa6fa96843079b448ca9230488a8031b742b714 /Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
parent1092efa77ae302fc677ebb67cdf2f93024b93f79 (diff)
parentfef1b84f0a587dc285af6659cb64042e34e54223 (diff)
Merge pull request #8271 from lioncash/qstring
DolphinQt: Replace unnecessary QStringLiterals with alternatives where applicable
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
index 66d178c5b2..4f6c5966ab 100644
--- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
@@ -160,7 +160,7 @@ void BreakpointWidget::Update()
int i = 0;
m_table->setRowCount(i);
- auto create_item = [](const QString string = QStringLiteral("")) {
+ const auto create_item = [](const QString string = {}) {
QTableWidgetItem* item = new QTableWidgetItem(string);
item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
return item;
@@ -224,10 +224,10 @@ void BreakpointWidget::Update()
QString flags;
if (mbp.is_break_on_read)
- flags.append(QStringLiteral("r"));
+ flags.append(QLatin1Char{'r'});
if (mbp.is_break_on_write)
- flags.append(QStringLiteral("w"));
+ flags.append(QLatin1Char{'w'});
m_table->setItem(i, 4, create_item(flags));