Renamed URL message box in case we add an additional message box later.

knobtest
Elliott Liggett 2022-09-15 11:55:45 -07:00
rodzic d4ae4181ed
commit 940f5fb961
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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("<b>" + URL + "</b>");
msgBox.exec();
URLmsgBox.setText("Your log has been posted, and the URL has been copied to the clipboard.");
URLmsgBox.setInformativeText("<b>" + URL + "</b>");
URLmsgBox.exec();
// For whatever reason, showing the message box hides this window.
this->show();
this->raise();

Wyświetl plik

@ -59,7 +59,7 @@ signals:
private:
Ui::loggingWindow *ui;
QClipboard *clipboard;
QMessageBox msgBox;
QMessageBox URLmsgBox;
QScrollBar *vertLogScroll;
QScrollBar *horizLogScroll;
QMutex textMutex;