-rw-r--r-- | library/lnkproperties.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 50cf5af..8dca4ab 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp @@ -60,12 +60,17 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) setCaption( tr("Properties") ); QVBoxLayout *vbox = new QVBoxLayout( this ); d = new LnkPropertiesBase( this ); vbox->add( d ); + // hide custom rotation feature for now, need a new implementation to fit quicklauch, + // is confusing for the user and doubtable useful since life rotation + d->rotate->hide(); + d->rotateButtons->hide(); + d->docname->setText(l->name()); QString inf; if ( l->type().isEmpty() ) { d->type->hide(); d->typeLabel->hide(); } else { @@ -112,13 +117,14 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) d->docname->setReadOnly( TRUE ); if ( l->property("CanFastload") == "0" ) d->preload->hide(); if ( !l->property("Rotation"). isEmpty ()) { d->rotate->setChecked ( true ); - d->rotateButtons->setButton((l->rotation().toInt()%360)/90); + //don't use rotate buttons for now (see comment above) + //d->rotateButtons->setButton((l->rotation().toInt()%360)/90); } else { d->rotateButtons->setEnabled(false); } Config cfg("Launcher"); @@ -166,12 +172,13 @@ void LnkProperties::setupLocations() if ( (ulong)(*it)->availBlocks() * (ulong)(*it)->blockSize() > (ulong)fileSize + 10000 ) { if ( (*it)->isRemovable() || (*it)->disk() == "/dev/mtdblock1" || (*it)->disk() == "/dev/mtdblock/1" || (*it)->disk().left(13) == "/dev/mtdblock" || (*it)->disk() == "/dev/mtdblock6" || + (*it )->disk() == "/dev/root" || (*it)->disk() == "tmpfs" ) { d->locationCombo->insertItem( (*it)->name(), index ); locations.append( ( ((*it)->isRemovable() || (*it)->disk() == "/dev/mtdblock6" || (*it)->disk() == "tmpfs" ) ? (*it)->path() : homeDir) ); |