globals--, fmt string fix, foreeach++, better names++, close fds, tray icon activates/closes

This commit is contained in:
Mathias Panzenböck
2014-02-16 04:37:11 +01:00
parent f2a566cc06
commit cfa17f8947
24 changed files with 208 additions and 206 deletions

View File

@ -1,3 +1,4 @@
#include <QX11Info>
#include "keycode.h"
#include "getkey.h"
@ -7,7 +8,7 @@ const QString ktos( int keycode )
if (keycode == 0) return "[NO KEY]";
QString xname = XKeysymToString(XKeycodeToKeysym(display, keycode,0));
QString xname = XKeysymToString(XKeycodeToKeysym(QX11Info::display(), keycode,0));
//this section of code converts standard X11 keynames into much nicer names
//which are prettier, fit the dialogs better, and are more readily understandable.