added add account login back in

This commit is contained in:
fourtf
2018-05-27 03:17:33 +02:00
parent 7e68e662e3
commit 0fed9ca5d2
5 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -579,7 +579,7 @@ bool ChannelView::isPaused()
void ChannelView::paintEvent(QPaintEvent * /*event*/)
{
// BenchmarkGuard benchmark("paint event");
BenchmarkGuard benchmark("paint event");
QPainter painter(this);
+4 -1
View File
@@ -33,7 +33,10 @@ AccountsPage::AccountsPage()
view->setTitles({"Name"});
view->getTableView()->horizontalHeader()->setStretchLastSection(true);
view->addButtonPressed.connect([] {});
view->addButtonPressed.connect([] {
static auto loginWidget = new LoginWidget();
loginWidget->show();
});
// auto buttons = layout.emplace<QDialogButtonBox>();
// {