summary refs log tree commit diff
path: root/src/SingleImagePackModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-06 04:31:30 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-06 04:31:53 +0200
commite5a6b2b6efcb56072146aad5996132070f9c2078 (patch)
tree7d3385d3dd5cf0dea9152538fa59c03693d9b932 /src/SingleImagePackModel.cpp
parentAllow uploading additional stickers (diff)
downloadnheko-e5a6b2b6efcb56072146aad5996132070f9c2078.tar.xz
Allow creating new packs
Diffstat (limited to 'src/SingleImagePackModel.cpp')
-rw-r--r--src/SingleImagePackModel.cpp4
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_);
                   });
         }
 }