diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-27 10:38:23 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-27 10:38:23 -0400 |
commit | ae3577e2f7421c23b95b1c347c99f4043f4e0faf (patch) | |
tree | 5c10eacbd9c08028a89ccb5fdd771f6ade96295e /lumina-fileinfo/main.cpp | |
parent | Add new variability for lumina-search: (diff) | |
parent | Merge pull request #98 from william-os4y/removetabs (diff) | |
download | lumina-ae3577e2f7421c23b95b1c347c99f4043f4e0faf.tar.gz lumina-ae3577e2f7421c23b95b1c347c99f4043f4e0faf.tar.bz2 lumina-ae3577e2f7421c23b95b1c347c99f4043f4e0faf.zip |
Merge branch 'master' of github.com:pcbsd/lumina
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 |