summaryrefslogtreecommitdiffstats
path: root/examples/network/broadcastsender/sender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/broadcastsender/sender.cpp')
-rw-r--r--examples/network/broadcastsender/sender.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/network/broadcastsender/sender.cpp b/examples/network/broadcastsender/sender.cpp
index d753094..7ce877d 100644
--- a/examples/network/broadcastsender/sender.cpp
+++ b/examples/network/broadcastsender/sender.cpp
@@ -44,9 +44,10 @@
#include "sender.h"
Sender::Sender(QWidget *parent)
- : QDialog(parent)
+ : QWidget(parent)
{
statusLabel = new QLabel(tr("Ready to broadcast datagrams on port 45454"));
+ statusLabel->setWordWrap(true);
startButton = new QPushButton(tr("&Start"));
quitButton = new QPushButton(tr("&Quit"));