summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2016-05-12 03:45:48 +0200
committertg(x) <*@tg-x.net>2016-05-12 03:45:48 +0200
commit37986c0af8289f66dfedf3ef677d1c34f439f53e (patch)
tree239c12a96ec0c58a4be7b58b3216dcdeb259ad6f
parenta295f2792f2a80f10dd3214563aa71ad3562204f (diff)
parentb10ab00aeab8891f70071361d4ed2d414ee1a123 (diff)
downloadsecushare-37986c0af8289f66dfedf3ef677d1c34f439f53e.tar.gz
secushare-37986c0af8289f66dfedf3ef677d1c34f439f53e.zip
Merge branch 'master' of gnunet.org:secushare
-rw-r--r--src/app.cpp1
-rw-r--r--src/gnunet/gnunet.cpp3
-rw-r--r--src/gnunet/social/guest.cpp2
-rw-r--r--src/main.cpp3
4 files changed, 5 insertions, 4 deletions
diff --git a/src/app.cpp b/src/app.cpp
index c249ab5..435568a 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -266,4 +266,5 @@ void
266App::close () 266App::close ()
267{ 267{
268 m_gnunet->stop (); 268 m_gnunet->stop ();
269 QApplication::quit();
269} 270}
diff --git a/src/gnunet/gnunet.cpp b/src/gnunet/gnunet.cpp
index b5a6b51..99bf88c 100644
--- a/src/gnunet/gnunet.cpp
+++ b/src/gnunet/gnunet.cpp
@@ -154,7 +154,8 @@ GnuNet::processQtEventsTask (void *cls)
154 { 154 {
155 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply 155 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
156 (GNUNET_TIME_UNIT_MILLISECONDS, 100), 156 (GNUNET_TIME_UNIT_MILLISECONDS, 100),
157 processQtEventsTask, gnunet); 157 processQtEventsTask,
158 gnunet);
158 } 159 }
159} 160}
160 161
diff --git a/src/gnunet/social/guest.cpp b/src/gnunet/social/guest.cpp
index cc41528..1954fbd 100644
--- a/src/gnunet/social/guest.cpp
+++ b/src/gnunet/social/guest.cpp
@@ -15,8 +15,10 @@ Guest::Guest (GNUNET_SOCIAL_App *app,
15 if (NULL == entryMsg) 15 if (NULL == entryMsg)
16 { 16 {
17 GNUNET_PSYC_Environment *env = GNUNET_PSYC_env_create (); 17 GNUNET_PSYC_Environment *env = GNUNET_PSYC_env_create ();
18#ifdef TESTING
18 GNUNET_PSYC_env_add (env, GNUNET_PSYC_OP_ASSIGN, "_test_abc", "abc def", 7); 19 GNUNET_PSYC_env_add (env, GNUNET_PSYC_OP_ASSIGN, "_test_abc", "abc def", 7);
19 GNUNET_PSYC_env_add (env, GNUNET_PSYC_OP_ASSIGN, "_test_abc_def", "abc def ghi", 11); 20 GNUNET_PSYC_env_add (env, GNUNET_PSYC_OP_ASSIGN, "_test_abc_def", "abc def ghi", 11);
21#endif
20 entryMsg = GNUNET_PSYC_message_create ("_request_enter", env, NULL, 0); 22 entryMsg = GNUNET_PSYC_message_create ("_request_enter", env, NULL, 0);
21 } 23 }
22 24
diff --git a/src/main.cpp b/src/main.cpp
index 6e0a415..e5cf2e5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -30,9 +30,6 @@ main (int argc, char **argv)
30 return -1; 30 return -1;
31 } 31 }
32 32
33 QObject::connect (engine, SIGNAL (quit ()),
34 app, SLOT (close ()));
35
36 app->registerImageProvider (engine); 33 app->registerImageProvider (engine);
37 34
38 theWindow->setTitle (QString ("secushare 0.1")); 35 theWindow->setTitle (QString ("secushare 0.1"));