forked from osmocom/wireshark
Get rid of a couple of focus halos.
svn path=/trunk/; revision=44145
This commit is contained in:
parent
4563416c93
commit
fc1e1a9d4c
|
@ -46,6 +46,9 @@ InterfaceTree::InterfaceTree(QWidget *parent) :
|
|||
header()->setVisible(false);
|
||||
setRootIsDecorated(false);
|
||||
setUniformRowHeights(true);
|
||||
#ifdef Q_WS_MAC
|
||||
setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
#endif
|
||||
setAccessibleName(tr("Welcome screen list"));
|
||||
|
||||
setStyleSheet(
|
||||
|
|
|
@ -138,6 +138,9 @@ MainWelcome::MainWelcome(QWidget *parent) :
|
|||
"}"
|
||||
);
|
||||
m_recent_files.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
#ifdef Q_WS_MAC
|
||||
m_recent_files.setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
#endif
|
||||
m_recent_files.setTextElideMode(Qt::ElideLeft);
|
||||
column->addWidget(&m_recent_files);
|
||||
connect(wsApp, SIGNAL(updateRecentItemStatus(const QString &, qint64, bool)), this, SLOT(updateRecentFiles()));
|
||||
|
|
Loading…
Reference in New Issue