~eaglescreen/eagle-battery-indicator/trunk

« back to all changes in this revision

Viewing changes to main.cpp

  • Committer: Rafael Belmonte
  • Date: 2012-12-26 03:33:58 UTC
  • Revision ID: eaglescreen@gmail.com-20121226033358-8b8sgrv6mgmgarwh
Dialog when battery not present implemented.
Working in the SystemTrayIcon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
int main(int argc, char *argv[])
5
5
{
6
6
    QApplication a(argc, argv);
 
7
 
7
8
    MainWindow w;
8
 
    //LaptopBattery bat1;
9
 
    //bat1.ReadProperties();
10
 
   // w.RefreshDataFromBatteryObject(&bat1);
 
9
 
11
10
    w.show();
12
11
 
13
12
    return a.exec();