diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-06 04:31:30 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-06 04:31:53 +0200 |
commit | e5a6b2b6efcb56072146aad5996132070f9c2078 (patch) | |
tree | 7d3385d3dd5cf0dea9152538fa59c03693d9b932 /src/SingleImagePackModel.cpp | |
parent | Allow uploading additional stickers (diff) | |
download | nheko-e5a6b2b6efcb56072146aad5996132070f9c2078.tar.xz |
Allow creating new packs
Diffstat (limited to 'src/SingleImagePackModel.cpp')
-rw-r--r-- | src/SingleImagePackModel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SingleImagePackModel.cpp b/src/SingleImagePackModel.cpp index ddecf1ad..dea25264 100644 --- a/src/SingleImagePackModel.cpp +++ b/src/SingleImagePackModel.cpp @@ -15,7 +15,7 @@ #include "timeline/Permissions.h" #include "timeline/TimelineModel.h" -Q_DECLARE_METATYPE(mtx::common::ImageInfo); +Q_DECLARE_METATYPE(mtx::common::ImageInfo) SingleImagePackModel::SingleImagePackModel(ImagePackInfo pack_, QObject *parent) : QAbstractListModel(parent) @@ -285,6 +285,8 @@ SingleImagePackModel::save() ChatPage::instance()->showNotification( tr("Failed to update image pack: {}") .arg(QString::fromStdString(e->matrix_error.error))); + + nhlog::net()->info("Uploaded image pack: {}", statekey_); }); } } |