added window always on top option

This commit is contained in:
fourtf
2017-12-17 16:45:15 +01:00
parent c7feec20d8
commit 1ca4fb46d6
10 changed files with 63 additions and 27 deletions
+4 -3
View File
@@ -19,15 +19,16 @@ namespace chatterino {
namespace widgets {
AccountPopupWidget::AccountPopupWidget(std::shared_ptr<Channel> channel)
: QWidget(nullptr)
: BaseWidget()
, _ui(new Ui::AccountPopup)
, _channel(channel)
{
_ui->setupUi(this);
resize(0, 0);
setWindowFlags(Qt::FramelessWindowHint);
this->initAsWindow();
resize(0, 0);
SettingsManager &settings = SettingsManager::getInstance();