mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Иконка Юзера в шапке чата
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "instructor.h"
|
||||
|
||||
Instructor::Instructor():
|
||||
User(),
|
||||
isAdmin()
|
||||
User()//,
|
||||
//isAdmin()
|
||||
{
|
||||
TypeUserDB = User::TypeUserDBInstructor;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public:
|
||||
bool getIsAdmin(){return isAdmin;}
|
||||
|
||||
private:
|
||||
bool isAdmin;
|
||||
//bool isAdmin;
|
||||
};
|
||||
|
||||
#endif // INSTRUCTOR_H
|
||||
|
||||
@@ -9,7 +9,8 @@ User::User():
|
||||
password(),
|
||||
archived(),
|
||||
loggedIn(),
|
||||
TypeUserDB()
|
||||
TypeUserDB(),
|
||||
isAdmin(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -32,6 +32,8 @@ private:
|
||||
bool loggedIn;
|
||||
protected:
|
||||
QString TypeUserDB;
|
||||
|
||||
bool isAdmin;
|
||||
};
|
||||
|
||||
#endif // USER_H
|
||||
|
||||
Reference in New Issue
Block a user