Ignore:
Timestamp:
07/24/14 06:41:54 (3 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.3
Children:
1891777
Parents:
733da14
Message:

Update lumina-desktop to use the new abilities in LuminaOS instead of the GLobals.h file. Now all the OS-specific stuff is contained in a single location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-desktop/LPanel.cpp

    r4d19595 r9d0ec76  
    7070  } 
    7171  int ht = settings->value(PPREFIX+"height", 22).toInt(); //this is technically the distance into the screen from the edge 
    72   /*int xoffset=0; 
    73   for(int i=0; i<screennum; i++){ 
    74     xoffset = xoffset + screen->screenGeometry(i).width(); 
    75   }*/ 
    7672  qDebug() << " - set Geometry"; 
    7773  int xwid = screen->screenGeometry(screennum).width(); 
     
    115111  if(defaultpanel && plugins.isEmpty()){ 
    116112    plugins << "userbutton" << "desktopbar" << "desktopswitcher" << "taskmanager" << "spacer" << "systemtray" << "clock"; 
    117     if(SYSTEM::hasBattery()){ plugins << "battery"; } 
     113    if(LOS::hasBattery()){ plugins << "battery"; } 
    118114  }else if(defaultpanel && !plugins.contains("userbutton") ){ 
    119115    plugins.prepend("userbutton"); //make sure we have this button since that lets the user logout 
Note: See TracChangeset for help on using the changeset viewer.