summaryrefslogtreecommitdiffstats
path: root/src/errordialoghandler.cpp
diff options
context:
space:
mode:
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();