Minor coding style

This commit is contained in:
Sergio Martins
2020-12-17 19:08:00 +00:00
parent c86252665c
commit 62f50f9458

View File

@@ -386,7 +386,7 @@ void MainWindowBase::overlayOnSideBar(DockWidgetBase *dw)
return;
const SideBar *sb = sideBarForDockWidget(dw);
if (sb == nullptr) {
if (!sb) {
qWarning() << Q_FUNC_INFO << "You need to add the dock widget to the sidebar before you can overlay it";
return;
}