Fortune* Example: remove needless unset-ing of window flag
It's unset by default in Qt6. Task-number: QTBUG-108875 Change-Id: I3f1c6e4e6de54e9ca0ed8892f9da1d346d16d4c7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 2fe69dbeb88c79012ff9f8c22b380ca3aa9a8a67) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
29e2b322ff
commit
53d52cf1e1
@ -14,7 +14,6 @@ Client::Client(QWidget *parent)
|
|||||||
, getFortuneButton(new QPushButton(tr("Get Fortune")))
|
, getFortuneButton(new QPushButton(tr("Get Fortune")))
|
||||||
, tcpSocket(new QTcpSocket(this))
|
, tcpSocket(new QTcpSocket(this))
|
||||||
{
|
{
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
||||||
//! [0]
|
//! [0]
|
||||||
hostCombo->setEditable(true);
|
hostCombo->setEditable(true);
|
||||||
// find out name of this machine
|
// find out name of this machine
|
||||||
|
@ -11,7 +11,6 @@ Server::Server(QWidget *parent)
|
|||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
, statusLabel(new QLabel)
|
, statusLabel(new QLabel)
|
||||||
{
|
{
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
||||||
statusLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
statusLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
|
|
||||||
initServer();
|
initServer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user