diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-02 07:56:52 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-02 07:56:52 -0500 |
commit | a34c589d0a8733ca0869384b83515631774dd4f4 (patch) | |
tree | eed78607771938c0b8b072d15ef9f8bf9cca6132 /libLumina/LuminaSingleApplication.h | |
parent | Large update of XLib -> XCB usage (diff) | |
download | lumina-a34c589d0a8733ca0869384b83515631774dd4f4.tar.gz lumina-a34c589d0a8733ca0869384b83515631774dd4f4.tar.bz2 lumina-a34c589d0a8733ca0869384b83515631774dd4f4.zip |
Make sure that the system encoding is loaded with QTextCodec before doing any command-line argument parsing.
Diffstat (limited to 'libLumina/LuminaSingleApplication.h')
-rw-r--r-- | libLumina/LuminaSingleApplication.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libLumina/LuminaSingleApplication.h b/libLumina/LuminaSingleApplication.h index ba342327..44f282cb 100644 --- a/libLumina/LuminaSingleApplication.h +++ b/libLumina/LuminaSingleApplication.h @@ -26,10 +26,12 @@ #include <LuminaUtils.h> +//NOTE: This application type will automatically load the proper translation file(s) +// if the application name is set properly class LSingleApplication : public QApplication{ Q_OBJECT public: - LSingleApplication(int &argc, char **argv); + LSingleApplication(int &argc, char **argv, QString appname); ~LSingleApplication(); bool isPrimaryProcess(); |