reference: SFtpFileSel, suppressed a compiler warning.

git-svn-id: svn://ultimatepp.org/upp/trunk@15440 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
oblivion 2020-11-17 15:21:05 +00:00
parent da95195765
commit 5e8b32daf9

View file

@ -52,9 +52,9 @@ GUI_APP_MAIN
sftp.WhenWait = []{}; // "NOOP"
SFtpFileSystemInfo sfsi(sftp);
FileSel fsel;
fsel.Filesystem(sfsi);
fsel.Filesystem((FileSystemInfo&) sfsi);
fsel.BaseDir(sftp.GetDefaultDir());
while(fsel.ExecuteOpen("Select a file to download (Select cancel to quit)")) {
while(fsel.NoAsking().ExecuteOpen("Select a file to download (Select cancel to quit)")) {
pi.Reset();
String path = fsel.Get();
sftp.WhenProgress = [&pi] (int64 done, int64 total)