summary refs log tree commit diff
path: root/src/dialogs
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-18 14:02:54 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-18 14:02:54 +0200
commitbdf1147a807a8d72eccfcf37c95604331653e0f7 (patch)
tree14d57455d8713459b2cc64b02a8f6b7cc422a139 /src/dialogs
parentAdd /roomnick command (diff)
downloadnheko-bdf1147a807a8d72eccfcf37c95604331653e0f7.tar.xz
add a bit of additional logging to image paste
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/PreviewUploadOverlay.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dialogs/PreviewUploadOverlay.cpp b/src/dialogs/PreviewUploadOverlay.cpp
index 42558d67..20959b0a 100644
--- a/src/dialogs/PreviewUploadOverlay.cpp
+++ b/src/dialogs/PreviewUploadOverlay.cpp
@@ -136,6 +136,11 @@ PreviewUploadOverlay::setLabels(const QString &type, const QString &mime, uint64
 void
 PreviewUploadOverlay::setPreview(const QImage &src, const QString &mime)
 {
+        nhlog::ui()->info("Pasting image with size: {}x{}, format: {}",
+                          src.height(),
+                          src.width(),
+                          mime.toStdString());
+
         auto const &split = mime.split('/');
         auto const &type  = split[1];