summaryrefslogtreecommitdiffstats
path: root/examples/network/securesocketclient/sslclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/securesocketclient/sslclient.cpp')
-rw-r--r--examples/network/securesocketclient/sslclient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/network/securesocketclient/sslclient.cpp b/examples/network/securesocketclient/sslclient.cpp
index bf8443d..b2f3dd4 100644
--- a/examples/network/securesocketclient/sslclient.cpp
+++ b/examples/network/securesocketclient/sslclient.cpp
@@ -145,7 +145,9 @@ void SslClient::socketEncrypted()
if (!padLock) {
padLock = new QToolButton;
padLock->setIcon(QIcon(":/encrypted.png"));
+#ifndef QT_NO_CURSOR
padLock->setCursor(Qt::ArrowCursor);
+#endif
padLock->setToolTip(tr("Display encryption details."));
int extent = form->hostNameEdit->height() - 2;