Minor: removed some comments
This commit is contained in:
parent
744ad52c89
commit
c339941585
@ -49,17 +49,6 @@
|
||||
#define SERIAL_PORT "ttyUSB0"
|
||||
#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
|
||||
int main(int argc, char *argv[]) {
|
||||
QByteArray const value = qgetenv("LC_ALL");
|
||||
@ -82,15 +71,6 @@ int main(int argc, char *argv[]) {
|
||||
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;
|
||||
parser.process(a);
|
||||
parser.readSettings();
|
||||
|
Loading…
x
Reference in New Issue
Block a user