X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=main.cpp;h=99a9e860f1a9cb1bb6c03d8be2d43d180f5ae694;hb=HEAD;hp=c6feb48833accf7e2e0ae37b6bbe98ecdfb8b16f;hpb=93cc4c7ccd36b7265aafaec2a7325b41c236ec33;p=pierogi diff --git a/main.cpp b/main.cpp index c6feb48..99a9e86 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,11 @@ +// main.cpp +// +// For the Pierogi IR remote control app. +// +// Copyright (C) 2012 by John Pietrzak (john@pietrzak.org) +// +// Licensed under the GNU GPL version 2.0 or later. + #include "mainwindow.h" #include "pirapplication.h" #include @@ -10,11 +18,11 @@ int main(int argc, char *argv[]) MainWindow mainWindow; mainWindow.setOrientation(MainWindow::ScreenOrientationLockLandscape); // mainWindow.setOrientation(MainWindow::ScreenOrientationAuto); - mainWindow.showExpanded(); // Take control over the volume rocker switch: app.setupRockerSwitch(&mainWindow); - app.setupRockerSwitch(mainWindow.getSecondaryWindow()); + + mainWindow.showExpanded(); app.connect( &app,