aboutsummaryrefslogtreecommitdiff
path: root/lumina-fileinfo/main.cpp
diff options
context:
space:
mode:
authorwi <william.os4y@gmail.com>2015-04-26 14:01:23 +0200
committerwi <william.os4y@gmail.com>2015-04-26 14:01:23 +0200
commit7f986188ec65509d3b99e3b4bbf996258ccae683 (patch)
tree0cea779bae5a76f7c95b3e7a688e70e9d243daa5 /lumina-fileinfo/main.cpp
parentAdd support for system-defined default non-mime applications in the luminaDes... (diff)
downloadlumina-7f986188ec65509d3b99e3b4bbf996258ccae683.tar.gz
lumina-7f986188ec65509d3b99e3b4bbf996258ccae683.tar.bz2
lumina-7f986188ec65509d3b99e3b4bbf996258ccae683.zip
since mixing tabs and spaces can generate troubles in some editors, I've removed the tabs
Diffstat (limited to 'lumina-fileinfo/main.cpp')
-rw-r--r--lumina-fileinfo/main.cpp32
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
bgstack15