aboutsummaryrefslogtreecommitdiff
path: root/sandbox/multithreading-tests/old-property-in-thread/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/multithreading-tests/old-property-in-thread/main.cpp')
-rw-r--r--sandbox/multithreading-tests/old-property-in-thread/main.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/sandbox/multithreading-tests/old-property-in-thread/main.cpp b/sandbox/multithreading-tests/old-property-in-thread/main.cpp
deleted file mode 100644
index c21c9d7f..00000000
--- a/sandbox/multithreading-tests/old-property-in-thread/main.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <contextproperty.h>
-
-#include "thread.h"
-
-#include <QCoreApplication>
-#include <QDebug>
-
-int main(int argc, char** argv)
-{
- QCoreApplication app(argc, argv);
-
- qDebug() << "Main thread is" << QThread::currentThread();
-
- ContextProperty* cp = new ContextProperty("test.int");
- delete cp;
- // Creating a ContextProperty will result in creating a PropertyHandle,
- // and the PropertyHandle is not deleted ever.
-
- // Start a thread which will create the same ContextProperty.
- Thread thread;
- thread.start();
-
- return app.exec();
-}
-