| 27 | } |
| 28 | |
| 29 | void GitLogWidgetPrivate::initUI() |
| 30 | { |
| 31 | QVBoxLayout *mainLayout = new QVBoxLayout(q); |
| 32 | mainLayout->setContentsMargins(0, 0, 0, 0); |
| 33 | |
| 34 | gitEditor = new GitEditor(q); |
| 35 | gitEditor->setReadOnly(true); |
| 36 | gitEditor->setTextInteractionFlags(gitEditor->textInteractionFlags() | Qt::TextSelectableByKeyboard); |
| 37 | |
| 38 | mainLayout->addWidget(gitEditor); |
| 39 | } |
| 40 | |
| 41 | GitLogWidget::GitLogWidget(QWidget *parent) |
| 42 | : GitBaseWidget(parent), |
no test coverage detected