Debugger: Fix 1 pixel gap under layout tabs on non-Windows platforms
Some checks failed
🐧 Linux Builds / AppImage (push) Has been cancelled
🐧 Linux Builds / Flatpak (push) Has been cancelled
🍎 MacOS Builds / Defaults (push) Has been cancelled
🖥️ Windows Builds / Lint VS Project Files (push) Has been cancelled
🖥️ Windows Builds / CMake (push) Has been cancelled
🖥️ Windows Builds / SSE4 (push) Has been cancelled
🖥️ Windows Builds / AVX2 (push) Has been cancelled

This commit is contained in:
chaoticgd 2025-11-05 11:29:47 +00:00 committed by Ty
parent 4a94cb6cbd
commit 5098277474

View File

@ -305,7 +305,6 @@ QSize DockMenuBarStyle::sizeFromContents(
{
QSize size = QProxyStyle::sizeFromContents(type, option, contents_size, widget);
#ifdef Q_OS_WIN32
// Adjust the sizes of the layout switcher tabs depending on the theme.
if (type == CT_TabBarTab)
{
@ -336,7 +335,6 @@ QSize DockMenuBarStyle::sizeFromContents(
size.setWidth(size.height());
}
}
#endif
return size;
}