No longer allow the shutdown window being closed using the shortcut. Patch by Jonas Sundstrom, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21313 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cc2fbed22d
commit
4fc538a920
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2005-2006, Ingo Weinhold, bonefish@users.sf.net.
|
* Copyright 2005-2007, Ingo Weinhold, bonefish@users.sf.net.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -232,8 +232,14 @@ public:
|
|||||||
|
|
||||||
~ShutdownWindow()
|
~ShutdownWindow()
|
||||||
{
|
{
|
||||||
for (int32 i = 0; AppInfo *info = (AppInfo*)fAppInfos.ItemAt(i); i++)
|
for (int32 i = 0; AppInfo *info = (AppInfo*)fAppInfos.ItemAt(i); i++) {
|
||||||
delete info;
|
delete info;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual bool QuitRequested()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
status_t Init(BMessenger target)
|
status_t Init(BMessenger target)
|
||||||
|
Loading…
Reference in New Issue
Block a user