Changeset 94a2826


Ignore:
Timestamp:
05/12/14 14:59:47 (4 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.2, releng/10.0.3
Children:
6cf6893
Parents:
b464dcd
Message:

Make sure lumina-config has an icon, and always show the background tab initially (since that one currently works).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-config/mainUI.cpp

    rb464dcd r94a2826  
    1010MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI()){ 
    1111  ui->setupUi(this); //load the designer file 
     12  this->setWindowIcon( LXDG::findIcon("preferences-desktop-display","") ); 
    1213  PINFO = new LPlugins(); //load the info class 
    1314  ppmenu = new QMenu(this); // panel plugin menu 
     
    4950  //ui->list_tb_plugins->clear(); 
    5051  QTimer::singleShot(10, this, SLOT(loadCurrentSettings()) ); 
     52  ui->tabWidget->setCurrentWidget(ui->tab_background); 
    5153} 
    5254 
     
    136138    //Load the background files 
    137139    QStringList bgs = settings->value(DPrefix+"background/filelist", QStringList()<<"default").toStringList(); 
    138     qDebug() << "Backgrounds:" << DPrefix << bgs; 
     140    //qDebug() << "Backgrounds:" << DPrefix << bgs; 
    139141    ui->list_backgrounds->clear(); 
    140142    for(int i=0; i<bgs.length(); i++){ 
Note: See TracChangeset for help on using the changeset viewer.