mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 10:45:08 +00:00
FileManager: Add ability to create new directories.
This commit is contained in:
parent
1030e6b848
commit
be4533717a
7 changed files with 32 additions and 8 deletions
|
@ -25,14 +25,15 @@ int GDialog::exec()
|
|||
show();
|
||||
auto result = m_event_loop->exec();
|
||||
m_event_loop = nullptr;
|
||||
dbgprintf("event loop returned with result %d\n", result);
|
||||
dbgprintf("%s: event loop returned with result %d\n", class_name(), result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void GDialog::done(int result)
|
||||
{
|
||||
ASSERT(m_event_loop);
|
||||
if (!m_event_loop)
|
||||
return;
|
||||
m_result = result;
|
||||
dbgprintf("quit event loop with result %d\n", result);
|
||||
dbgprintf("%s: quit event loop with result %d\n", class_name(), result);
|
||||
m_event_loop->quit(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue