mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
msgbox.h: Fixed method hiding issue by using 'virtual' keyword for setTimeOut
This should avoid potential -Woverloaded-virtual warnings.
This commit is contained in:
@@ -213,7 +213,7 @@ class CHintBox : public CComponentsWindow
|
|||||||
* @param[in] Timeout as int as seconds
|
* @param[in] Timeout as int as seconds
|
||||||
* @param[in] enable_Timeout_Bar as bool
|
* @param[in] enable_Timeout_Bar as bool
|
||||||
*/
|
*/
|
||||||
virtual void setTimeOut(const int& Timeout, const bool& enable_Timeout_Bar){timeout = Timeout; enable_timeout_bar = enable_Timeout_Bar;}
|
void setTimeOut(const int& Timeout, const bool& enable_Timeout_Bar){timeout = Timeout; enable_timeout_bar = enable_Timeout_Bar;}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* enable/disable visualized timeout as progressbar under titlebar
|
* enable/disable visualized timeout as progressbar under titlebar
|
||||||
|
@@ -309,7 +309,7 @@ class CMsgBox : public CHintBox
|
|||||||
* @param[in] Timeout
|
* @param[in] Timeout
|
||||||
* @li expects type int
|
* @li expects type int
|
||||||
*/
|
*/
|
||||||
void setTimeOut(const int& Timeout){timeout = Timeout;};
|
void setTimeOut(const int& Timeout) {timeout = Timeout;}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* enable/disable defined timeout, otherwise it will be ignored
|
* enable/disable defined timeout, otherwise it will be ignored
|
||||||
|
Reference in New Issue
Block a user