mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
hide progress bar when not actually mid-upload
This commit is contained in:
1 parent
4bca973a21
commit
8324172a90
3 files changed
+37
-3
No files matched your search
@@ -5,7 +5,7 @@
|
||||
#include "chatlist.hpp"
|
||||
#include "constants.hpp"
|
||||
#ifdef WITH_LIBHANDY
|
||||
#include "channeltabswitcherhandy.hpp"
|
||||
#include "channeltabswitcherhandy.hpp"
|
||||
#endif
|
||||
|
||||
ChatWindow::ChatWindow() {
|
||||
@@ -109,7 +109,13 @@ ChatWindow::ChatWindow() {
|
||||
m_main->add(*m_meta);
|
||||
m_main->add(m_progress);
|
||||
|
||||
m_progress.show();
|
||||
m_progress.signal_start().connect([this]() {
|
||||
m_progress.show();
|
||||
});
|
||||
|
||||
m_progress.signal_stop().connect([this]() {
|
||||
m_progress.hide();
|
||||
});
|
||||
|
||||
m_main->show();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user