Merge pull request #7944 from jordan-woyak/md5-textbox-readonly
DolphinQt: Make MD5 result text box read only.
This commit is contained in:
commit
7952cc7dda
|
@ -202,6 +202,7 @@ QWidget* InfoWidget::CreateChecksumComputer()
|
||||||
layout->setContentsMargins(0, 0, 0, 0);
|
layout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
m_checksum_result = new QLineEdit();
|
m_checksum_result = new QLineEdit();
|
||||||
|
m_checksum_result->setReadOnly(true);
|
||||||
QPushButton* calculate = new QPushButton(tr("Compute"));
|
QPushButton* calculate = new QPushButton(tr("Compute"));
|
||||||
connect(calculate, &QPushButton::clicked, this, &InfoWidget::ComputeChecksum);
|
connect(calculate, &QPushButton::clicked, this, &InfoWidget::ComputeChecksum);
|
||||||
layout->addWidget(m_checksum_result);
|
layout->addWidget(m_checksum_result);
|
||||||
|
|
Loading…
Reference in New Issue