diff options
author | wi <william.os4y@gmail.com> | 2015-05-01 18:38:55 +0200 |
---|---|---|
committer | wi <william.os4y@gmail.com> | 2015-05-01 18:38:55 +0200 |
commit | 2b143927e0363fd41b138a6955f9e9363b71b443 (patch) | |
tree | 6366bcbd5842e42e52f1429f4e7232f678778f67 /lumina-fileinfo/main.cpp | |
parent | use the termnial application specified by the user as the default-terminal. (diff) | |
parent | Fix/Fix a couple important bugs before announcing 0.8.4-release: (diff) | |
download | lumina-2b143927e0363fd41b138a6955f9e9363b71b443.tar.gz lumina-2b143927e0363fd41b138a6955f9e9363b71b443.tar.bz2 lumina-2b143927e0363fd41b138a6955f9e9363b71b443.zip |
Merge remote-tracking branch 'upstream/master' into fm-term
Diffstat (limited to 'lumina-fileinfo/main.cpp')
-rw-r--r-- | lumina-fileinfo/main.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lumina-fileinfo/main.cpp b/lumina-fileinfo/main.cpp index 59e86623..5f6a0d57 100644 --- a/lumina-fileinfo/main.cpp +++ b/lumina-fileinfo/main.cpp @@ -9,22 +9,22 @@ int main(int argc, char ** argv) { - QApplication a(argc, argv); - LUtils::LoadTranslation(&a, "lumina-fileinfo"); - LuminaThemeEngine theme(&a); + QApplication a(argc, argv); + LUtils::LoadTranslation(&a, "lumina-fileinfo"); + LuminaThemeEngine theme(&a); - Dialog w; - QObject::connect(&theme, SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); - 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(); - } - w.show(); + Dialog w; + QObject::connect(&theme, SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); + 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(); + } + w.show(); - int retCode = a.exec(); - return retCode; + int retCode = a.exec(); + return retCode; }
\ No newline at end of file |