From 940f5fb9615ef5370a5f22ea0629f7e995b58fdc Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Thu, 15 Sep 2022 11:55:45 -0700 Subject: [PATCH] Renamed URL message box in case we add an additional message box later. --- loggingwindow.cpp | 6 +++--- loggingwindow.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/loggingwindow.cpp b/loggingwindow.cpp index 1efb623..09248a3 100644 --- a/loggingwindow.cpp +++ b/loggingwindow.cpp @@ -79,9 +79,9 @@ void loggingWindow::handleDataFromLoggingHost() { clipboard->setText(URL); qInfo(logLogger()) << "Sent log to URL: " << URL; - msgBox.setText("Your log has been posted, and the URL has been copied to the clipboard."); - msgBox.setInformativeText("" + URL + ""); - msgBox.exec(); + URLmsgBox.setText("Your log has been posted, and the URL has been copied to the clipboard."); + URLmsgBox.setInformativeText("" + URL + ""); + URLmsgBox.exec(); // For whatever reason, showing the message box hides this window. this->show(); this->raise(); diff --git a/loggingwindow.h b/loggingwindow.h index 26f3598..67be898 100644 --- a/loggingwindow.h +++ b/loggingwindow.h @@ -59,7 +59,7 @@ signals: private: Ui::loggingWindow *ui; QClipboard *clipboard; - QMessageBox msgBox; + QMessageBox URLmsgBox; QScrollBar *vertLogScroll; QScrollBar *horizLogScroll; QMutex textMutex;