Add /join command support
This commit is contained in:
parent
ac525970b0
commit
76ddfb792b
9 changed files with 61 additions and 12 deletions
|
|
@ -15,8 +15,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "Config.h"
|
||||
#include "MainWindow.h"
|
||||
#include "Config.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QLayout>
|
||||
|
|
@ -142,6 +142,15 @@ MainWindow::removeOverlayProgressBar()
|
|||
spinner_.reset();
|
||||
});
|
||||
|
||||
// FIXME: Snackbar doesn't work if it's initialized in the constructor.
|
||||
QTimer::singleShot(100, this, [=]() {
|
||||
snackBar_ = QSharedPointer<SnackBar>(new SnackBar(this));
|
||||
connect(chat_page_,
|
||||
&ChatPage::showNotification,
|
||||
snackBar_.data(),
|
||||
&SnackBar::showMessage);
|
||||
});
|
||||
|
||||
timer->start(500);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue