equal
deleted
inserted
replaced
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(); |