+// 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 <QtGui/QApplication>
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,