Иконка Юзера в шапке чата

This commit is contained in:
2025-09-12 12:33:58 +03:00
parent 8bb2aef5cc
commit 96d63effa5
6 changed files with 56 additions and 30 deletions

View File

@@ -1,8 +1,8 @@
#include "instructor.h"
Instructor::Instructor():
User(),
isAdmin()
User()//,
//isAdmin()
{
TypeUserDB = User::TypeUserDBInstructor;
}

View File

@@ -12,7 +12,7 @@ public:
bool getIsAdmin(){return isAdmin;}
private:
bool isAdmin;
//bool isAdmin;
};
#endif // INSTRUCTOR_H

View File

@@ -9,7 +9,8 @@ User::User():
password(),
archived(),
loggedIn(),
TypeUserDB()
TypeUserDB(),
isAdmin(false)
{
}

View File

@@ -32,6 +32,8 @@ private:
bool loggedIn;
protected:
QString TypeUserDB;
bool isAdmin;
};
#endif // USER_H