summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/network-chat')
-rw-r--r--examples/network/network-chat/main.cpp5
-rw-r--r--examples/network/network-chat/network-chat.pro9
-rw-r--r--examples/network/network-chat/peermanager.cpp4
3 files changed, 0 insertions, 18 deletions
diff --git a/examples/network/network-chat/main.cpp b/examples/network/network-chat/main.cpp
index a126172b74..94a4dacae8 100644
--- a/examples/network/network-chat/main.cpp
+++ b/examples/network/network-chat/main.cpp
@@ -88,11 +88,6 @@ int main(int argc, char *argv[])
}
ChatDialog dialog;
-#ifdef Q_OS_SYMBIAN
- // Make application better looking and more usable on small screen
- dialog.showMaximized();
-#else
dialog.show();
-#endif
return app.exec();
}
diff --git a/examples/network/network-chat/network-chat.pro b/examples/network/network-chat/network-chat.pro
index f6650f1d40..49b32aa356 100644
--- a/examples/network/network-chat/network-chat.pro
+++ b/examples/network/network-chat/network-chat.pro
@@ -18,13 +18,4 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS network-chat.pro *.chat
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/network-chat
INSTALLS += target sources
-symbian {
- CONFIG += qt_example
- LIBS += -lcharconv
- TARGET.CAPABILITY = "NetworkServices ReadUserData WriteUserData"
- TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
-}
-maemo5: CONFIG += qt_example
-symbian: warning(This example might not fully work on Symbian platform)
-maemo5: warning(This example might not fully work on Maemo platform)
diff --git a/examples/network/network-chat/peermanager.cpp b/examples/network/network-chat/peermanager.cpp
index 0e5bd1724e..a0374e7e7e 100644
--- a/examples/network/network-chat/peermanager.cpp
+++ b/examples/network/network-chat/peermanager.cpp
@@ -69,11 +69,7 @@ PeerManager::PeerManager(Client *client)
}
if (username.isEmpty())
-#ifndef Q_OS_SYMBIAN
username = "unknown";
-#else
- username = "QtS60";
-#endif
updateAddresses();
serverPort = 0;