Use strongly typed enums

This commit is contained in:
Konstantinos Sideris 2017-05-08 00:51:03 +03:00
parent 1f90c58076
commit e44cc374e1
17 changed files with 76 additions and 78 deletions

View file

@ -82,7 +82,7 @@ private slots:
void onResponse(QNetworkReply *reply);
private:
enum Endpoint {
enum class Endpoint {
GetOwnProfile,
GetOwnAvatar,
GetProfile,