mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
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:
parent
da95195765
commit
5e8b32daf9
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue