Merge pull request #7944 from jordan-woyak/md5-textbox-readonly

DolphinQt: Make MD5 result text box read only.
This commit is contained in:
Mat M 2019-03-29 14:20:18 -04:00 committed by GitHub
commit 7952cc7dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ QWidget* InfoWidget::CreateChecksumComputer()
layout->setContentsMargins(0, 0, 0, 0);
m_checksum_result = new QLineEdit();
m_checksum_result->setReadOnly(true);
QPushButton* calculate = new QPushButton(tr("Compute"));
connect(calculate, &QPushButton::clicked, this, &InfoWidget::ComputeChecksum);
layout->addWidget(m_checksum_result);