Get rid of __HAIKU__ checks

This is a leftover of something that wasn't finiched and looks like won't be finished. It also feels that's not a good idea to mix Linux and Haiku in the same file though...
This commit is contained in:
Ilya Fedin 2022-05-19 09:05:26 +04:00 committed by John Preston
parent 6b469e469f
commit bbad41e046

View file

@ -620,17 +620,6 @@ TitleControls::Layout TitleControlsLayout() {
}
#endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION
#ifdef __HAIKU__
return TitleControls::Layout{
.left = {
TitleControls::Control::Close,
},
.right = {
TitleControls::Control::Minimize,
TitleControls::Control::Maximize,
}
};
#else // __HAIKU__
return TitleControls::Layout{
.right = {
TitleControls::Control::Minimize,
@ -638,7 +627,6 @@ TitleControls::Layout TitleControlsLayout() {
TitleControls::Control::Close,
}
};
#endif // !__HAIKU__
}
} // namespace Platform