Changes in / [a5bc020:1d87ed6]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-installgui/wizardDisk.cpp

    r0f9dbbc r7431d6d  
    595595  popupCH->addAction( "off", this, SLOT(slotZChkOFF())); 
    596596 
    597   // Create compression sub-menu 
    598   popupCmp = popup->addMenu("compression"); 
    599   popupCmp->addAction( "off", this, SLOT(slotZCmpOFF())); 
    600   popupCmp->addAction( "lzjb", this, SLOT(slotZCmpLZJB())); 
    601   popupCmp->addAction( "gzip", this, SLOT(slotZCmpGZIP())); 
    602   popupCmp->addAction( "zle", this, SLOT(slotZCmpZLE())); 
     597  // Create compression sub-menu for non '/' devices 
     598  if ( treeMounts->currentItem()->text(1) != "/" ) { 
     599    popupCmp = popup->addMenu("compression"); 
     600    popupCmp->addAction( "off", this, SLOT(slotZCmpOFF())); 
     601    popupCmp->addAction( "lzjb", this, SLOT(slotZCmpLZJB())); 
     602    popupCmp->addAction( "gzip", this, SLOT(slotZCmpGZIP())); 
     603    popupCmp->addAction( "zle", this, SLOT(slotZCmpZLE())); 
     604  } 
    603605 
    604606  // Create dedup sub-menu 
Note: See TracChangeset for help on using the changeset viewer.