stop using literal 500 as a window timeout
This commit is contained in:
@@ -62,7 +62,7 @@ bool SongEntryMatcher(const Regex::Regex &rx, const MPD::Song &s);
|
||||
|
||||
PlaylistEditor::PlaylistEditor()
|
||||
: m_timer(boost::posix_time::from_time_t(0))
|
||||
, m_window_timeout(Config.data_fetching_delay ? 250 : 500)
|
||||
, m_window_timeout(Config.data_fetching_delay ? 250 : BaseScreen::defaultWindowTimeout)
|
||||
, m_fetching_delay(boost::posix_time::milliseconds(Config.data_fetching_delay ? 250 : -1))
|
||||
{
|
||||
LeftColumnWidth = COLS/3-1;
|
||||
|
||||
Reference in New Issue
Block a user