mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
15 lines
377 B
C++
15 lines
377 B
C++
|
// 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);
|
||
|
}
|