add some comments
reformat
This commit is contained in:
@@ -314,7 +314,9 @@ void Window::onAccountSelected()
|
||||
auto user = getApp()->accounts->twitch.getCurrent();
|
||||
|
||||
#ifdef CHATTERINO_NIGHTLY_VERSION_STRING
|
||||
auto windowTitleEnd = QString(" - Chatterino Nightly " CHATTERINO_VERSION " (" UGLYMACROHACK(CHATTERINO_NIGHTLY_VERSION_STRING) ")");
|
||||
auto windowTitleEnd =
|
||||
QString(" - Chatterino Nightly " CHATTERINO_VERSION
|
||||
" (" UGLYMACROHACK(CHATTERINO_NIGHTLY_VERSION_STRING) ")");
|
||||
#else
|
||||
auto windowTitleEnd = QString(" - Chatterino Beta " CHATTERINO_VERSION);
|
||||
#endif
|
||||
|
||||
@@ -1346,8 +1346,7 @@ void ChannelView::showUserInfoPopup(const QString &userName)
|
||||
auto *userPopup = new UserInfoPopup;
|
||||
userPopup->setData(userName, this->channel_);
|
||||
userPopup->setActionOnFocusLoss(BaseWindow::Delete);
|
||||
QPoint offset(int(150 * this->getScale()),
|
||||
int(70 * this->getScale()));
|
||||
QPoint offset(int(150 * this->getScale()), int(70 * this->getScale()));
|
||||
userPopup->move(QCursor::pos() - offset);
|
||||
userPopup->show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user