Minor: removed some comments
This commit is contained in:
		@@ -49,17 +49,6 @@
 | 
				
			|||||||
#define SERIAL_PORT "ttyUSB0"
 | 
					#define SERIAL_PORT "ttyUSB0"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//QString Orientation(Qt::ScreenOrientation orientation) {
 | 
					 | 
				
			||||||
//    switch (orientation) {
 | 
					 | 
				
			||||||
//        case Qt::PrimaryOrientation           : return "Primary";
 | 
					 | 
				
			||||||
//        case Qt::LandscapeOrientation         : return "Landscape";
 | 
					 | 
				
			||||||
//        case Qt::PortraitOrientation          : return "Portrait";
 | 
					 | 
				
			||||||
//        case Qt::InvertedLandscapeOrientation : return "Inverted landscape";
 | 
					 | 
				
			||||||
//        case Qt::InvertedPortraitOrientation  : return "Inverted portrait";
 | 
					 | 
				
			||||||
//        default                               : return "Unknown";
 | 
					 | 
				
			||||||
//    }
 | 
					 | 
				
			||||||
//}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// argv[1]: file to send to dc
 | 
					// argv[1]: file to send to dc
 | 
				
			||||||
int main(int argc, char *argv[]) {
 | 
					int main(int argc, char *argv[]) {
 | 
				
			||||||
    QByteArray const value = qgetenv("LC_ALL");
 | 
					    QByteArray const value = qgetenv("LC_ALL");
 | 
				
			||||||
@@ -82,15 +71,6 @@ int main(int argc, char *argv[]) {
 | 
				
			|||||||
        setDebugLevel(LOG_NOTICE);
 | 
					        setDebugLevel(LOG_NOTICE);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //qCritical() << "Number of screens:" << QGuiApplication::screens().size();
 | 
					 | 
				
			||||||
    //qCritical() << "Primary screen:" << QGuiApplication::primaryScreen()->name();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    //foreach (QScreen *screen, QGuiApplication::screens()) {
 | 
					 | 
				
			||||||
    //    qDebug() << "Information for screen:" << screen->name();
 | 
					 | 
				
			||||||
    //    qDebug() << "  Orientation:" << Orientation(screen->orientation());
 | 
					 | 
				
			||||||
    //}
 | 
					 | 
				
			||||||
    //return 0;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    CommandLineParser parser;
 | 
					    CommandLineParser parser;
 | 
				
			||||||
    parser.process(a);
 | 
					    parser.process(a);
 | 
				
			||||||
    parser.readSettings();
 | 
					    parser.readSettings();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user