diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-17 14:43:52 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-17 14:43:52 +0200 |
commit | c60fdf109150312c1ba5e749aff6196f098b2752 (patch) | |
tree | 8452b421ff2b4f2e86d4b11b6b906c6fbbe4a656 /c/layout.cpp | |
parent | 1d041ad5b123e4ecbe69dfa621349f6be9b933d6 (diff) | |
download | EpisodeBrowser-c60fdf109150312c1ba5e749aff6196f098b2752.tar.gz |
Add FileView::Initialized constructor.
Diffstat (limited to 'c/layout.cpp')
-rw-r--r-- | c/layout.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/layout.cpp b/c/layout.cpp index 653b675..5b3ff00 100644 --- a/c/layout.cpp +++ b/c/layout.cpp @@ -68,14 +68,14 @@ void DlvDragger::Drag(const int, const int y) const void DlvDragger::Reset() const { + extern CfgA& g_cfg; g_dlv->SetHeight(0); - extern FileView<CfgA> g_fvCfg; - g_fvCfg->heightDlv = 0; + g_cfg.heightDlv = 0; UpdateLayout(); } void DlvDragger::Done() const { - extern FileView<CfgA> g_fvCfg; - g_fvCfg->heightDlv = g_dlv->Height(); + extern CfgA& g_cfg; + g_cfg.heightDlv = g_dlv->Height(); } |