diff options
author | Ken Moore <moorekou@gmail.com> | 2015-04-21 00:12:51 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-04-21 00:12:51 -0400 |
commit | 6729dcd0cdafe09b061f9d7b36648388bbae4534 (patch) | |
tree | 7605ac7551ec061013e60aa9a73cc9380ebe3c9b /lumina-fileinfo/main.cpp | |
parent | Make sure to check the list of watched files and reset it if something was re... (diff) | |
parent | test the return code of the command to mv file to refresh the icon. (diff) | |
download | lumina-6729dcd0cdafe09b061f9d7b36648388bbae4534.tar.gz lumina-6729dcd0cdafe09b061f9d7b36648388bbae4534.tar.bz2 lumina-6729dcd0cdafe09b061f9d7b36648388bbae4534.zip |
Merge pull request #92 from william-os4y/deskEditor
I propose you the lumina-fileinfo
Diffstat (limited to 'lumina-fileinfo/main.cpp')
-rw-r--r-- | lumina-fileinfo/main.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lumina-fileinfo/main.cpp b/lumina-fileinfo/main.cpp new file mode 100644 index 00000000..deefd46f --- /dev/null +++ b/lumina-fileinfo/main.cpp @@ -0,0 +1,20 @@ +#include <QApplication> +#include "dialog.h" + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + Dialog w; + if (argc==2) { + w.LoadDesktopFile(QString(argv[1]).simplified()); + } else if (argc==3) { + w.Initialise(QString(argv[1]).simplified()); + w.LoadDesktopFile(QString(argv[2]).simplified()); + } else { + w.MissingInputs(); + } + a.setApplicationName("Lumina File Info"); + w.show(); + + return a.exec(); +} |