Commit 81f62d36 authored by Petar Perisin's avatar Petar Perisin
Browse files

Git - use proper label text in LogChangeDialog

Change-Id: Ie0b9f06f411308e93dc29aa7025a960fc640a359
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
parent 3ce2b605
...@@ -61,7 +61,7 @@ LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent) ...@@ -61,7 +61,7 @@ LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent)
headers << tr("Sha1")<< tr("Subject"); headers << tr("Sha1")<< tr("Subject");
m_model->setHorizontalHeaderLabels(headers); m_model->setHorizontalHeaderLabels(headers);
QVBoxLayout *layout = new QVBoxLayout(this); QVBoxLayout *layout = new QVBoxLayout(this);
layout->addWidget(new QLabel(tr("Reset to:"), this)); layout->addWidget(new QLabel(isReset ? tr("Reset to:") : tr("Select change:"), this));
m_treeView->setModel(m_model); m_treeView->setModel(m_model);
m_treeView->setMinimumWidth(300); m_treeView->setMinimumWidth(300);
m_treeView->setUniformRowHeights(true); m_treeView->setUniformRowHeights(true);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment