added colon emote popup for ffz and bttv
This commit is contained in:
@@ -21,7 +21,7 @@ TooltipWidget *TooltipWidget::instance()
|
||||
}
|
||||
|
||||
TooltipWidget::TooltipWidget(BaseWidget *parent)
|
||||
: BaseWindow(BaseWindow::TopMost, parent)
|
||||
: BaseWindow({BaseWindow::TopMost, BaseWindow::DontFocus}, parent)
|
||||
, displayImage_(new QLabel())
|
||||
, displayText_(new QLabel())
|
||||
{
|
||||
@@ -31,15 +31,6 @@ TooltipWidget::TooltipWidget(BaseWidget *parent)
|
||||
this->updateFont();
|
||||
this->setStayInScreenRect(true);
|
||||
|
||||
this->setAttribute(Qt::WA_ShowWithoutActivating);
|
||||
#ifdef Q_OS_LINUX
|
||||
this->setWindowFlags(Qt::ToolTip);
|
||||
#else
|
||||
this->setWindowFlags(Qt::Tool | Qt::FramelessWindowHint |
|
||||
Qt::X11BypassWindowManagerHint |
|
||||
Qt::BypassWindowManagerHint);
|
||||
#endif
|
||||
|
||||
displayImage_->hide();
|
||||
displayImage_->setAlignment(Qt::AlignHCenter);
|
||||
displayImage_->setStyleSheet("background: transparent");
|
||||
|
||||
Reference in New Issue
Block a user