OSK - exception on exit

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 2a9e0247b1
commit baa88b5052
  1. 20
      src/gui/UBKeyboardPalette.cpp

@ -152,20 +152,20 @@ void UBKeyboardPalette::setInput(const UBKeyboardLocale* locale)
UBKeyboardPalette::~UBKeyboardPalette()
{
for (int i=0; i<47; i++)
delete buttons[i];
//for (int i=0; i<47; i++)
// delete buttons[i];
delete [] buttons;
for (int i=0; i<8; i++)
delete ctrlButtons[i];
//for (int i=0; i<8; i++)
// delete ctrlButtons[i];
delete [] ctrlButtons;
if (locales!=NULL)
{
for (int i=0; i<nLocalesCount; i++)
delete locales[i];
delete [] locales;
}
//if (locales!=NULL)
//{
// for (int i=0; i<nLocalesCount; i++)
// delete locales[i];
// delete [] locales;
//}
if(currBtnImages != NULL)
{

Loading…
Cancel
Save