# HG changeset patch # User Andre Heinecke # Date 1403097000 -7200 # Node ID 47235ae3fa9a1ae6fb1fa4908559cdddf457a47b # Parent 2ea11a95aa4a83c83eeb51d561499be23f3dfc4a Remove close / help button and set fixed size diff -r 2ea11a95aa4a -r 47235ae3fa9a ui/l10n/trustbridge_de_DE.ts --- a/ui/l10n/trustbridge_de_DE.ts Wed Jun 18 15:09:42 2014 +0200 +++ b/ui/l10n/trustbridge_de_DE.ts Wed Jun 18 15:10:00 2014 +0200 @@ -298,7 +298,7 @@ - + Close all running firefox and thunderbird instances to continue installation! diff -r 2ea11a95aa4a -r 47235ae3fa9a ui/processwaitdialog.cpp --- a/ui/processwaitdialog.cpp Wed Jun 18 15:09:42 2014 +0200 +++ b/ui/processwaitdialog.cpp Wed Jun 18 15:10:00 2014 +0200 @@ -21,6 +21,7 @@ QHBoxLayout *theLayout = new QHBoxLayout(this); setWindowTitle(tr("Applications need to be closed.")); + setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint); QLabel *warnLabel = new QLabel(tr("Close all running firefox and thunderbird instances to continue installation!")); QLabel *warnIcon = new QLabel(); @@ -28,6 +29,8 @@ theLayout->addWidget(warnIcon); theLayout->addWidget(warnLabel); + + theLayout->setSizeConstraint(QLayout::SetFixedSize); // mProcessList = new QListWidget(); // theLayout->addWidget(mProcessList); updateProcesses();