Remove redundant anonymous namespace

static functions already have translation unit internal linkage.
This commit is contained in:
Vlad Zahorodnii 2021-03-24 15:08:09 +02:00
parent 06cfe1a24a
commit 77a065e8de

View file

@ -668,7 +668,6 @@ PointerInterface *SeatInterface::pointer() const
return d->pointer.data();
}
namespace {
static quint32 qtToWaylandButton(Qt::MouseButton button)
{
#if HAVE_LINUX_INPUT_H
@ -696,7 +695,6 @@ static quint32 qtToWaylandButton(Qt::MouseButton button)
return 0;
#endif
}
}
bool SeatInterface::isPointerButtonPressed(Qt::MouseButton button) const
{