removed colon from info labels in general info section
and changed getheight to count rows in the gui, like it
is already done in ctrl-tab.cpp
Signed-off-by: Anton Arbring <aarbring@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
if (querycap(m_querycap)) {
addTitle("General Information");
- addLabel("Device:");
+ addLabel("Device");
addLabel(device + (useWrapper() ? " (wrapped)" : ""));
- addLabel("Driver:");
+ addLabel("Driver");
addLabel((char *)m_querycap.driver);
- addLabel("Card:");
+ addLabel("Card");
addLabel((char *)m_querycap.card);
- addLabel("Bus:");
+ addLabel("Bus");
addLabel((char *)m_querycap.bus_info);
}
int GeneralTab::getHeight()
{
- return m_row * m_maxh;
+ return rowCount() * m_maxh;
}
bool GeneralTab::isSlicedVbi() const