mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
Add selectable message box helper, use it, make login GUI error label selectable
This commit is contained in:
parent
e7e03c2b54
commit
b0ef429786
11 changed files with 88 additions and 44 deletions
11
gui/CustomMessageBox.h
Normal file
11
gui/CustomMessageBox.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <QMessageBox>
|
||||
|
||||
namespace CustomMessageBox
|
||||
{
|
||||
QMessageBox *selectable(QWidget *parent, const QString &title, const QString &text,
|
||||
QMessageBox::Icon icon = QMessageBox::NoIcon,
|
||||
QMessageBox::StandardButtons buttons = QMessageBox::Ok,
|
||||
QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue