oh no the bad commit descriptions are back D:

This commit is contained in:
fourtf
2017-12-23 23:24:35 +01:00
parent a617873f6a
commit 2bf53f73f8
11 changed files with 35 additions and 41 deletions
+3 -4
View File
@@ -1,8 +1,8 @@
#pragma once
#include "widgets/basewidget.hpp"
#include <QWidget>
#include <QLabel>
#include <QWidget>
namespace chatterino {
namespace widgets {
@@ -16,11 +16,10 @@ public:
void setText(QString text);
void moveTo(QPoint point);
static TooltipWidget* getInstance()
static TooltipWidget *getInstance()
{
static TooltipWidget *tooltipWidget = nullptr;
if(tooltipWidget == nullptr)
{
if (tooltipWidget == nullptr) {
tooltipWidget = new TooltipWidget();
}
return tooltipWidget;