HTTP example: remove needlessly unset-ing window flag
In Qt 6 it is unset by default. Task-number: QTBUG-108874 Pick-to: 6.5 Change-Id: I35af9d7c1517fd393710b7b1b978d3f39c61acf0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
c89c37b52f
commit
d18b5195c1
@ -23,7 +23,6 @@ ProgressDialog::ProgressDialog(const QUrl &url, QWidget *parent)
|
||||
: QProgressDialog(parent)
|
||||
{
|
||||
setWindowTitle(tr("Download Progress"));
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
setLabelText(tr("Downloading %1.").arg(url.toDisplayString()));
|
||||
setMinimum(0);
|
||||
setValue(0);
|
||||
@ -46,7 +45,6 @@ HttpWindow::HttpWindow(QWidget *parent)
|
||||
, defaultFileLineEdit(new QLineEdit(defaultFileName))
|
||||
, downloadDirectoryLineEdit(new QLineEdit)
|
||||
{
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
setWindowTitle(tr("HTTP Client"));
|
||||
|
||||
//! [qnam-auth-required-1]
|
||||
|
Loading…
Reference in New Issue
Block a user