mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add some missing tooltips for event browser location buttons
This commit is contained in:
@@ -319,12 +319,13 @@ void MarkerBreadcrumbs::AddPathButton(const ActionDescription *action)
|
||||
{
|
||||
RDToolButton *b = new RDToolButton();
|
||||
b->setText(action ? QString(action->customName) : QString());
|
||||
b->setToolTip(b->text());
|
||||
if(!action)
|
||||
{
|
||||
b->setIcon(Icons::house());
|
||||
b->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
b->setToolTip(tr("Capture Root"));
|
||||
}
|
||||
b->setToolTip(b->text());
|
||||
|
||||
bool hasChildMarkers = false;
|
||||
|
||||
|
||||
@@ -3453,6 +3453,7 @@ EventBrowser::EventBrowser(ICaptureContext &ctx, QWidget *parent)
|
||||
|
||||
m_BreadcrumbLocationEditButton = new RDToolButton();
|
||||
m_BreadcrumbLocationEditButton->setIcon(Icons::page_white_edit());
|
||||
m_BreadcrumbLocationEditButton->setToolTip(tr("Edit marker location as text"));
|
||||
box->addWidget(m_BreadcrumbLocationText);
|
||||
box->addWidget(m_BreadcrumbLocationEditButton);
|
||||
ui->breadcrumbStrip->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
|
||||
|
||||
Reference in New Issue
Block a user