diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-19 19:15:09 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-19 19:15:09 +0200 |
commit | 7c15dd954ec03d0d75142ef8783af9b686ed5129 (patch) | |
tree | aaa6ad25555186d7e4c817ad04b819de9a24008b /src/playlist_editor.cpp | |
parent | 125ae9b50587cd5e362ddcd8114024fc2f6130b6 (diff) |
stop using literal 500 as a window timeout
Diffstat (limited to 'src/playlist_editor.cpp')
-rw-r--r-- | src/playlist_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_editor.cpp b/src/playlist_editor.cpp index 36fe3d5a..6012b704 100644 --- a/src/playlist_editor.cpp +++ b/src/playlist_editor.cpp @@ -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; |