diff options
author | deva <deva> | 2010-08-12 10:57:04 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-12 10:57:04 +0000 |
commit | d9338083192084613e5530b02710b796252d342b (patch) | |
tree | e0ec2b36e0de62328e5fd5d3b597f6ee71d1b18f /client/pracro.cc | |
parent | dbab8458dcce186e7eb7a114a83f759d7db5445a (diff) |
New scripting system part2.
Diffstat (limited to 'client/pracro.cc')
-rw-r--r-- | client/pracro.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/pracro.cc b/client/pracro.cc index ad46085..76cd4df 100644 --- a/client/pracro.cc +++ b/client/pracro.cc @@ -24,8 +24,6 @@ * along with Pracro; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef TESTING - #include <QApplication> #include <QObject> #include <QEvent> @@ -53,8 +51,11 @@ QString config = CONFIG_DEFAULT; QString host; quint16 port; -QFont *fixedfont; QWidget *viewer = NULL; +QFont *fixedfont = NULL; + +#ifndef TESTING + static void print_usage() { printf("Usage: pracro -m MACRO -c CPR -U USER\n"); |