mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
DolphinQt: Add generic tooltip controls
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
// Copyright 2020 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DolphinQt/Config/ToolTipControls/ToolTipSpinBox.h"
|
||||
|
||||
QPoint ToolTipSpinBox::GetToolTipPosition() const
|
||||
{
|
||||
return pos() + QPoint(width() / 2, height() / 2);
|
||||
}
|
Reference in New Issue
Block a user