summaryrefslogtreecommitdiff
path: root/src/playlist_editor.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2015-05-19 19:15:09 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2015-05-19 19:15:09 +0200
commit7c15dd954ec03d0d75142ef8783af9b686ed5129 (patch)
treeaaa6ad25555186d7e4c817ad04b819de9a24008b /src/playlist_editor.cpp
parent125ae9b50587cd5e362ddcd8114024fc2f6130b6 (diff)
stop using literal 500 as a window timeout
Diffstat (limited to 'src/playlist_editor.cpp')
-rw-r--r--src/playlist_editor.cpp2
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;