Fixed #53
This commit is contained in:
@@ -2,17 +2,11 @@
|
||||
#include "ui_profiledialog.h"
|
||||
|
||||
ProfileDialog::ProfileDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ZeiterfassungDialog(parent),
|
||||
ui(new Ui::ProfileDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
||||
#else
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
#endif
|
||||
|
||||
ui->spinBoxUserId->setValue(userInfo.userId);
|
||||
ui->lineEditEmail->setText(userInfo.email);
|
||||
ui->lineEditLongUsername->setText(userInfo.longUsername);
|
||||
|
||||
Reference in New Issue
Block a user