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;