Add mixed comments to input code, make some tooltip clearer

This commit is contained in:
Filoppi
2021-05-04 23:50:23 +03:00
parent e9e41b925b
commit f4fec42165
10 changed files with 28 additions and 9 deletions

View File

@ -10,6 +10,8 @@
#include "DolphinQt/Config/Graphics/BalloonTip.h"
constexpr int TOOLTIP_DELAY = 300;
template <class Derived>
class ToolTipWidget : public Derived
{
@ -25,7 +27,7 @@ private:
{
if (m_timer_id)
return;
m_timer_id = this->startTimer(300);
m_timer_id = this->startTimer(TOOLTIP_DELAY);
}
void leaveEvent(QEvent* event) override