this->setWindowTitle(tr("Woller Config"));
#ifdef Q_WS_MAEMO_5
this->setAttribute(Qt::WA_Maemo5StackedWindow);
- this->setWindowFlags(this->windowFlags() | Qt::Window);
#else
this->setWindowModality(Qt::ApplicationModal);
#endif
+ this->setWindowFlags(this->windowFlags() | Qt::Window);
add_host = new QPushButton(tr("&Add Host"), this);
edit_host = new QPushButton(tr("&Edit Host"), this);
del_host = new QPushButton(tr("&Delete Host"), this);
this->setWindowTitle(tr("WOL target details"));
#ifdef Q_WS_MAEMO_5
this->setAttribute(Qt::WA_Maemo5StackedWindow);
- this->setWindowFlags(this->windowFlags() | Qt::Window);
#else
this->setWindowModality(Qt::ApplicationModal);
#endif
+ this->setWindowFlags(this->windowFlags() | Qt::Window);
vlayout = new QVBoxLayout(this);
host_row = new QHBoxLayout;
HostWidget::~HostWidget()
{
qDebug() << "host ~widget" << endl;
- delete vlayout;
delete host_row;
delete host_lbl;
delete hostname;
delete button_row;
delete cancel;
delete ok;
- //delete new_host;
+ delete vlayout;
}