mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Ability to click error message when not providing correct account info, Fixes #488
This commit is contained in:
parent
65f54ebac3
commit
85c1a1dbac
|
@ -48,6 +48,12 @@ namespace {
|
|||
if (errors.length() > 0)
|
||||
{
|
||||
QMessageBox messageBox;
|
||||
// Set error window on top
|
||||
#ifdef USEWINSDK
|
||||
::SetWindowPos(HWND(messageBox.winId()), HWND_TOPMOST, 0, 0, 0, 0,
|
||||
SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW);
|
||||
|
||||
#endif
|
||||
messageBox.setIcon(QMessageBox::Critical);
|
||||
messageBox.setText(errors.join("<br />"));
|
||||
messageBox.setStandardButtons(QMessageBox::Ok);
|
||||
|
|
Loading…
Reference in a new issue