Skip to content

Commit c40379f

Browse files
committed
Trying to match colors with previous Qt version
1 parent 191b6c4 commit c40379f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vulkancapsviewer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ VulkanCapsViewer::VulkanCapsViewer(QWidget *parent)
172172
connect(ui.toolButtonSettings, SIGNAL(pressed()), this, SLOT(slotSettings()), Qt::QueuedConnection);
173173
connect(ui.comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(slotComboTabChanged(int)), Qt::QueuedConnection);
174174

175+
QPalette palette;
176+
palette.setColor(QPalette::Highlight, QColor(0, 120, 215));
177+
palette.setColor(QPalette::Link, QColor(0, 120, 215));
178+
qApp->setPalette(palette);
175179
qApp->setStyle(QStyleFactory::create("Fusion"));
176180
boldFont.setBold(true);
177181

0 commit comments

Comments
 (0)