mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-06 00:05:09 +00:00
Compare commits
3 Commits
25c24e2363
...
26b07531d7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
26b07531d7 | ||
![]() |
30dd1e79df | ||
![]() |
9a359fd47c |
@ -32,16 +32,16 @@ protected:
|
|||||||
for (int i{0}; i < tab_count; ++i)
|
for (int i{0}; i < tab_count; ++i)
|
||||||
{
|
{
|
||||||
if (i != current_tab_index)
|
if (i != current_tab_index)
|
||||||
PaintTab(painter, i);
|
paintTab(painter, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Current tab is painted last as, depending on the [system] style, it is possible that the
|
// Current tab is painted last as, depending on the [system] style, it is possible that the
|
||||||
// decoration is required to occlude the adjacent tab underneath.
|
// decoration is required to occlude the adjacent tab underneath.
|
||||||
PaintTab(painter, current_tab_index);
|
paintTab(painter, current_tab_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void PaintTab(QStylePainter& painter, const int tab_index)
|
void paintTab(QStylePainter& painter, const int tab_index)
|
||||||
{
|
{
|
||||||
painter.save();
|
painter.save();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user