diff --git a/src/widgets/Window.cpp b/src/widgets/Window.cpp index 6df88b40..e993fe67 100644 --- a/src/widgets/Window.cpp +++ b/src/widgets/Window.cpp @@ -41,7 +41,8 @@ Window::Window(WindowType type) this->addShortcuts(); this->addLayout(); - getApp()->accounts->twitch.currentUserChanged.connect( + this->signalHolder_.managedConnect( + getApp()->accounts->twitch.currentUserChanged, [this] { this->onAccountSelected(); }); this->onAccountSelected(); diff --git a/src/widgets/splits/SplitContainer.cpp b/src/widgets/splits/SplitContainer.cpp index 25e93220..58e2eb95 100644 --- a/src/widgets/splits/SplitContainer.cpp +++ b/src/widgets/splits/SplitContainer.cpp @@ -456,9 +456,10 @@ void SplitContainer::paintEvent(QPaintEvent *) if (notebook != nullptr) { if (notebook->getPageCount() > 1) { - text += "\n\nTip: After adding a split you can hold to " - "move it or split it " - "further."; + text += + "\n\nTip: After adding a split you can hold to " + "move it or split it " + "further."; } }