diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp
index d3c78a0..066eb60 100644
--- a/src/chatmodel.cpp
+++ b/src/chatmodel.cpp
@@ -277,8 +277,18 @@ void MainWindow::sendChatButton() {
auto d = new QDialog(this);
auto connD = new Ui_ConnectionDialog();
connD->setupUi(d);
- QPixmap logo(":/img/res/logobig.gif");
- connD->topIcon->setBasePixmap(logo.scaled(256, 256, Qt::KeepAspectRatio, Qt::SmoothTransformation));
+ QMovie *movie1 = new QMovie(":/img/res/silentdragonlite-animated.gif");;
+ QMovie *movie2 = new QMovie(":/img/res/silentdragonlite-animated-dark.gif");;
+ auto theme = Settings::getInstance()->get_theme_name();
+ if (theme == "dark" || theme == "midnight") {
+ movie2->setScaledSize(QSize(512,512));
+ connD->topIcon->setMovie(movie2);
+ movie2->start();
+ } else {
+ movie1->setScaledSize(QSize(512,512));
+ connD->topIcon->setMovie(movie1);
+ movie1->start();
+ }
connD->status->setText(tr("Please wait..."));
connD->statusDetail->setText(tr("Your Message will be send"));
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 32affce..3196dff 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -18,8 +18,8 @@
:/icons/res/icon.ico:/icons/res/icon.ico
-
- -
+
+
-
5
@@ -389,7 +389,7 @@
0
0
1226
- 504
+ 488
@@ -1332,17 +1332,17 @@
0
- 80
+ 40
341
- 561
+ 551
- 6
- 40
+ 0
+ 0
311
20
@@ -1351,25 +1351,12 @@
<html><head/><body><p align="center">Hushchat Contactlist</p></body></html>
-
-
-
- 400
- 410
- 331
- 17
-
-
-
- Memo
-
-
340
- 510
- 901
+ 410
+ 921
128
@@ -1377,8 +1364,8 @@
- 1180
- 460
+ 1200
+ 540
47
17
@@ -1393,9 +1380,9 @@
- 350
- 50
- 291
+ 450
+ 20
+ 161
20
@@ -1410,7 +1397,7 @@
340
- 80
+ 40
921
371
@@ -1432,7 +1419,7 @@
1130
- 650
+ 590
114
25
@@ -1453,21 +1440,21 @@
- 340
- 460
- 67
+ 350
+ 550
+ 81
17
- <html><head/><body><p>Send to :</p></body></html>
+ Send To :
- 340
- 490
+ 350
+ 580
81
17
@@ -1480,7 +1467,7 @@
420
- 460
+ 550
691
20
@@ -1492,8 +1479,8 @@
- 943
- 20
+ 50
+ 600
211
25
@@ -1515,7 +1502,7 @@
420
- 490
+ 580
691
20
@@ -1527,8 +1514,8 @@
- 820
- 60
+ 720
+ 20
331
20
@@ -1540,8 +1527,8 @@
- 690
- 60
+ 590
+ 20
131
20
@@ -1550,6 +1537,32 @@
<html><head/><body><p align="center">Conversation ID:</p></body></html>
+
+
+
+ 980
+ 0
+ 271
+ 23
+
+
+
+ Render only authenticated messages
+
+
+
+
+
+ 340
+ 20
+ 111
+ 20
+
+
+
+ <html><head/><body><p align="center">Contact Name:</p></body></html>
+
+