summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/gestures/pannablewebview/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/gestures/pannablewebview/main.cpp b/examples/gestures/pannablewebview/main.cpp
index 5b7a67a..7c74bbd 100644
--- a/examples/gestures/pannablewebview/main.cpp
+++ b/examples/gestures/pannablewebview/main.cpp
@@ -7,6 +7,11 @@ public:
PannableWebView(QWidget *parent = 0)
: QWebView(parent)
{
+#if 0
+ QPushButton *btn = new QPushButton("Some test button", this);
+ btn->resize(300, 200);
+ btn->move(40, 300);
+#endif
grabGesture(Qt::PanGesture);
}
protected: