UI: Add description to Log Reply window
parent
c878bfcb1f
commit
c7eaee632a
|
@ -333,6 +333,8 @@ Output.BadPath.Text="The configured file output path is invalid. Please check yo
|
|||
|
||||
# log upload dialog text and messages
|
||||
LogReturnDialog="Log Upload Successful"
|
||||
LogReturnDialog.Description="Your log file has been uploaded. You can now share the URL for debugging or support purposes."
|
||||
LogReturnDialog.Description.Crash="Your crash report has been uploaded. You can now share the URL for debugging purposes."
|
||||
LogReturnDialog.CopyURL="Copy URL"
|
||||
LogReturnDialog.ErrorUploadingLog="Error uploading log file"
|
||||
|
||||
|
|
|
@ -14,6 +14,13 @@
|
|||
<string>LogReturnDialog</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="description">
|
||||
<property name="text">
|
||||
<string>LogReturnDialog.Description</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
|
|
|
@ -25,9 +25,12 @@ OBSLogReply::OBSLogReply(QWidget *parent, const QString &url, const bool crash)
|
|||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
ui->setupUi(this);
|
||||
ui->urlEdit->setText(url);
|
||||
if (crash) {
|
||||
ui->description->setText(
|
||||
Str("LogReturnDialog.Description.Crash"));
|
||||
}
|
||||
|
||||
installEventFilter(CreateShortcutFilter());
|
||||
UNUSED_PARAMETER(crash);
|
||||
}
|
||||
|
||||
void OBSLogReply::on_copyURL_clicked()
|
||||
|
|
Loading…
Reference in New Issue