From 2cdbee4124f7f38a25bda88ad3553b7da557fa35 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 16 Sep 2009 14:15:52 +0000 Subject: [PATCH] display message about sorting playlist a bit earlier since actual sorting takes more time than telling mpd how to sort, message should be displayed before a call to std::sort() --- src/playlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist.cpp b/src/playlist.cpp index 642a4cbc..de61905a 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -177,6 +177,7 @@ void Playlist::EnterPressed() return; } + ShowMessage("Sorting playlist..."); MPD::SongList playlist, cmp; playlist.reserve(Items->Size()); @@ -195,7 +196,6 @@ void Playlist::EnterPressed() } BlockUpdate = 1; - ShowMessage("Sorting playlist..."); Mpd.StartCommandsList(); do {