summary refs log tree commit diff
path: root/src/dialogs/UserProfile.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-21 14:33:35 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-21 14:33:35 +0300
commit6c65213c83c2516aed1d1ee160fef8bcb9a092b2 (patch)
tree642f6114c2a9c832989cc532481881609960fab9 /src/dialogs/UserProfile.h
parentLower the complexity of the group filtering algorithm (#380) (diff)
downloadnheko-6c65213c83c2516aed1d1ee160fef8bcb9a092b2.tar.xz
Reuse the profile modal & adjust its spacing relative to the font size
Diffstat (limited to 'src/dialogs/UserProfile.h')
-rw-r--r--src/dialogs/UserProfile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dialogs/UserProfile.h b/src/dialogs/UserProfile.h

index ad01c650..9901771d 100644 --- a/src/dialogs/UserProfile.h +++ b/src/dialogs/UserProfile.h
@@ -44,12 +44,14 @@ protected: void paintEvent(QPaintEvent *) override; signals: - void devicesRetrieved(const std::vector<DeviceInfo> &devices); + void devicesRetrieved(const QString &user_id, const std::vector<DeviceInfo> &devices); private slots: - void updateDeviceList(const std::vector<DeviceInfo> &devices); + void updateDeviceList(const QString &user_id, const std::vector<DeviceInfo> &devices); private: + void resetToDefaults(); + Avatar *avatar_; QLabel *userIdLabel_;