DolphinQt: Make MD5 result text box read only.

This commit is contained in:
Jordan Woyak 2019-03-29 12:31:09 -05:00
parent 914aa7c506
commit 4ee999723e
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);