зеркало из https://github.com/mozilla/gecko-dev.git
Rogue call to nsFileWidget::Create(), should be part of #if 0 code. r=sdagley@netscape.com
This commit is contained in:
Родитель
285b916f78
Коммит
3021686f3a
|
@ -1502,9 +1502,10 @@ nsBrowserAppCore::OpenWindow()
|
||||||
"*.*"};
|
"*.*"};
|
||||||
fileWidget->SetFilterList(5, titles, filters);
|
fileWidget->SetFilterList(5, titles, filters);
|
||||||
|
|
||||||
fileWidget->Create(nsnull, title, eMode_load, nsnull, nsnull);
|
|
||||||
|
|
||||||
#if 0 // Old way
|
#if 0 // Old way
|
||||||
|
fileWidget->Create(nsnull, title, eMode_load, nsnull, nsnull);
|
||||||
|
|
||||||
nsAutoString fileURL;
|
nsAutoString fileURL;
|
||||||
PRBool result = fileWidget->Show();
|
PRBool result = fileWidget->Show();
|
||||||
if (result) {
|
if (result) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче