summaryrefslogtreecommitdiffstats
path: root/src/errordialoghandler.cpp
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-02 21:11:43 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-02 21:11:43 +0100
commitb207bd38e1574cb75315a2c66e7a598c22fc55ca (patch)
tree05b3a58ac8261e1f43a944018e48c15171032052 /src/errordialoghandler.cpp
parent8e18359de7cfc2521045671007ec6115c150dd55 (diff)
parent532b713e0e570083c8ecd5708942cacb66835838 (diff)
Merge branch '2.3' of github.com:mixxxdj/mixxx into cleanup-headers
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 634b9b6278..c2e3da9378 100644
--- a/src/errordialoghandler.cpp
+++ b/src/errordialoghandler.cpp
@@ -72,8 +72,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;
}
@@ -196,7 +196,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();