Ref T592, minor tweaks

* style
* hide wip_CockpitComPanelShowHideBar initially
* sGui guarding
* function initialFloating() public so it can be explicitly called
This commit is contained in:
Klaus Basan
2019-04-05 02:54:36 +02:00
committed by Mat Sutcliffe
parent 9f0daa58ea
commit c45592f9b5
11 changed files with 42 additions and 51 deletions

View File

@@ -94,7 +94,7 @@ namespace BlackGui
int r = 0;
int c = 0;
// remark:
// remark: the actions will be set from the main UI
for (QAction *action : this->actions())
{
if (!action) { continue; }
@@ -193,7 +193,7 @@ namespace BlackGui
void CNavigatorDialog::changeEvent(QEvent *evt)
{
QEvent::Type t = evt->type();
const QEvent::Type t = evt->type();
if (t == QEvent::WindowStateChange)
{
evt->ignore();