QTfrontend/hwform.cpp
changeset 6960 822f8269e13f
parent 6952 7f70f37bbf08
child 7004 45d43f372107
equal deleted inserted replaced
6959:fce378ee4191 6960:822f8269e13f
   153 
   153 
   154     QShortcut *hideFrontend = new QShortcut(QKeySequence("Ctrl+M"), this);
   154     QShortcut *hideFrontend = new QShortcut(QKeySequence("Ctrl+M"), this);
   155     connect (hideFrontend, SIGNAL(activated()), this, SLOT(showMinimized()));
   155     connect (hideFrontend, SIGNAL(activated()), this, SLOT(showMinimized()));
   156 #else
   156 #else
   157     // ctrl+q closes frontend for consistency
   157     // ctrl+q closes frontend for consistency
   158     QShortcut *closeFrontend = new QShortcut(QKeySequence("Ctrl+Q"), this);
   158     QShortcut * closeFrontend = new QShortcut(QKeySequence("Ctrl+Q"), this);
   159     connect (closeFrontend, SIGNAL(activated()), this, SLOT(close()));
   159     connect (closeFrontend, SIGNAL(activated()), this, SLOT(close()));
       
   160     QShortcut * updateData = new QShortcut(QKeySequence("F5"), this);
       
   161     connect (updateData, SIGNAL(activated()), &DataManager::instance(), SLOT(reload()));
   160 #endif
   162 #endif
   161 
   163 
   162     UpdateTeamsLists();
   164     UpdateTeamsLists();
   163     UpdateCampaignPage(0);
   165     UpdateCampaignPage(0);
   164     UpdateWeapons();
   166     UpdateWeapons();