summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/network/fortuneclient/main.cpp2
-rw-r--r--examples/network/fortuneserver/main.cpp2
-rw-r--r--examples/network/multicastreceiver/main.cpp2
-rw-r--r--examples/network/multicastsender/main.cpp2
-rw-r--r--examples/tools/regexp/main.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/network/fortuneclient/main.cpp b/examples/network/fortuneclient/main.cpp
index 957de9b161..5ba8bf37f8 100644
--- a/examples/network/fortuneclient/main.cpp
+++ b/examples/network/fortuneclient/main.cpp
@@ -46,5 +46,5 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
Client client;
client.show();
- return client.exec();
+ return app.exec();
}
diff --git a/examples/network/fortuneserver/main.cpp b/examples/network/fortuneserver/main.cpp
index f07c97cdb9..b14c1b00d3 100644
--- a/examples/network/fortuneserver/main.cpp
+++ b/examples/network/fortuneserver/main.cpp
@@ -51,5 +51,5 @@ int main(int argc, char *argv[])
Server server;
server.show();
qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
- return server.exec();
+ return app.exec();
}
diff --git a/examples/network/multicastreceiver/main.cpp b/examples/network/multicastreceiver/main.cpp
index 924372bd08..58353dadc4 100644
--- a/examples/network/multicastreceiver/main.cpp
+++ b/examples/network/multicastreceiver/main.cpp
@@ -47,5 +47,5 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
Receiver receiver;
receiver.show();
- return receiver.exec();
+ return app.exec();
}
diff --git a/examples/network/multicastsender/main.cpp b/examples/network/multicastsender/main.cpp
index a18c475838..de7eae3ec6 100644
--- a/examples/network/multicastsender/main.cpp
+++ b/examples/network/multicastsender/main.cpp
@@ -47,5 +47,5 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
Sender sender;
sender.show();
- return sender.exec();
+ return app.exec();
}
diff --git a/examples/tools/regexp/main.cpp b/examples/tools/regexp/main.cpp
index 767fb2fd67..6eb4639886 100644
--- a/examples/tools/regexp/main.cpp
+++ b/examples/tools/regexp/main.cpp
@@ -47,5 +47,5 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
RegExpDialog dialog;
dialog.show();
- return dialog.exec();
+ return app.exec();
}