summaryrefslogtreecommitdiffstats
path: root/src/errordialoghandler.cpp
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2020-11-22 04:14:41 +0100
committerDaniel Schürmann <daschuer@mixxx.org>2020-11-22 04:14:41 +0100
commit4bde836ca36f8cf57ec2910d257352afc1b0b1ea (patch)
treecb281be63f8a557fadbeeb86f422c75b63c46bd6 /src/errordialoghandler.cpp
parent337cc52cbc0344149021a467dc96217ce41ed087 (diff)
parent5311b4ed942cd136cd1b7e0319c0c041f69e66fc (diff)
Merge remote-tracking branch 'upstream/2.3' into main
Diffstat (limited to 'src/errordialoghandler.cpp')
-rw-r--r--src/errordialoghandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/errordialoghandler.cpp b/src/errordialoghandler.cpp
index 3f302bb7b2..650a6f5dbd 100644
--- a/src/errordialoghandler.cpp
+++ b/src/errordialoghandler.cpp
@@ -89,8 +89,8 @@ ErrorDialogProperties* ErrorDialogHandler::newDialogProperties() {
return new ErrorDialogProperties();
}
-bool ErrorDialogHandler::requestErrorDialog(DialogType type, QString message,
- bool shouldQuit) {
+bool ErrorDialogHandler::requestErrorDialog(
+ DialogType type, const QString& message, bool shouldQuit) {
if (!s_bEnabled) {
return false;
}
@@ -213,7 +213,7 @@ void ErrorDialogHandler::errorDialog(ErrorDialogProperties* pProps) {
}
}
-void ErrorDialogHandler::boxClosed(QString key, QMessageBox* msgBox) {
+void ErrorDialogHandler::boxClosed(const QString& key, QMessageBox* msgBox) {
QMutexLocker locker(&m_mutex);
locker.unlock();