mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
progresswindow: create global_bar object only if needed
Origin commit data
------------------
Commit: 5aeea5ac8f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-02 (Fri, 02 Jun 2017)
Origin message was:
------------------
- progresswindow: create global_bar object only if needed
This commit is contained in:
@@ -96,8 +96,9 @@ void CProgressWindow::Init( signal<void, size_t, size_t, string> *statusSignal,
|
||||
//create local_bar object
|
||||
local_bar = getProgressItem();
|
||||
|
||||
//create global_bar object
|
||||
global_bar = getProgressItem();
|
||||
//NI - create global_bar object only if needed
|
||||
if (globalSignal)
|
||||
global_bar = getProgressItem();
|
||||
|
||||
//set window height
|
||||
h_height = ccw_head->getHeight();
|
||||
|
Reference in New Issue
Block a user