Some miscellaneous updates to main help, for new features and otherwise.
[freeciv.git] / client / gui-qt / gotodlg.cpp
blobfc0f0052ffa45395a85ecfb266e4014d961c68d4
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
14 #ifdef HAVE_CONFIG_H
15 #include <fc_config.h>
16 #endif
18 /* common */
19 #include "game.h"
21 /* client */
22 #include "client_main.h"
23 #include "control.h"
25 // gui-qt
26 #include "qtg_cxxside.h"
28 #include "gotodlg.h"
30 /**************************************************************************
31 Popup a dialog to have the focus unit goto to a city.
32 **************************************************************************/
33 void popup_goto_dialog(void)
35 if (C_S_RUNNING != client_state()) {
36 return;
38 if (get_num_units_in_focus() == 0) {
39 return;
41 /* PORTME */