blob: c15aefea9e80e6227721eb84f506c45d5957af79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "DolphinQt/Config/ToolTipControls/ToolTipPushButton.h"
ToolTipPushButton::ToolTipPushButton(const QString& text, QWidget* parent)
: ToolTipWidget(text, parent)
{
}
QPoint ToolTipPushButton::GetToolTipPosition() const
{
return pos() + QPoint(width() / 2, height() / 2);
}
|