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:
parent
6b469e469f
commit
bbad41e046
1 changed files with 0 additions and 12 deletions
|
|
@ -620,17 +620,6 @@ TitleControls::Layout TitleControlsLayout() {
|
||||||
}
|
}
|
||||||
#endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
#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{
|
return TitleControls::Layout{
|
||||||
.right = {
|
.right = {
|
||||||
TitleControls::Control::Minimize,
|
TitleControls::Control::Minimize,
|
||||||
|
|
@ -638,7 +627,6 @@ TitleControls::Layout TitleControlsLayout() {
|
||||||
TitleControls::Control::Close,
|
TitleControls::Control::Close,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif // !__HAIKU__
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Platform
|
} // namespace Platform
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue