QTfrontend/hwform.cpp
changeset 6960 822f8269e13f
parent 6952 7f70f37bbf08
child 7004 45d43f372107
--- a/QTfrontend/hwform.cpp	Sun Apr 29 17:23:05 2012 +0200
+++ b/QTfrontend/hwform.cpp	Sun Apr 29 20:52:10 2012 +0200
@@ -155,8 +155,10 @@
     connect (hideFrontend, SIGNAL(activated()), this, SLOT(showMinimized()));
 #else
     // ctrl+q closes frontend for consistency
-    QShortcut *closeFrontend = new QShortcut(QKeySequence("Ctrl+Q"), this);
+    QShortcut * closeFrontend = new QShortcut(QKeySequence("Ctrl+Q"), this);
     connect (closeFrontend, SIGNAL(activated()), this, SLOT(close()));
+    QShortcut * updateData = new QShortcut(QKeySequence("F5"), this);
+    connect (updateData, SIGNAL(activated()), &DataManager::instance(), SLOT(reload()));
 #endif
 
     UpdateTeamsLists();