-rw-r--r-- | library/lnkproperties.cpp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 50cf5af..8dca4ab 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp @@ -65,2 +65,7 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) + // 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()); @@ -117,3 +122,4 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) 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); } @@ -170,6 +176,7 @@ void LnkProperties::setupLocations() (*it)->disk().left(13) == "/dev/mtdblock" || - (*it)->disk() == "/dev/mtdblock6" || + (*it)->disk() == "/dev/mtdblock6" || + (*it )->disk() == "/dev/root" || (*it)->disk() == "tmpfs" ) { d->locationCombo->insertItem( (*it)->name(), index ); - locations.append( ( ((*it)->isRemovable() || + locations.append( ( ((*it)->isRemovable() || (*it)->disk() == "/dev/mtdblock6" || @@ -277,3 +284,3 @@ void LnkProperties::done(int ok) bool reloadMime=FALSE; - + if ( lnk->name() != d->docname->text() ) { @@ -291,3 +298,3 @@ void LnkProperties::done(int ok) QString newrot; - + if ( d->rotate->isChecked() ) { @@ -311,3 +318,3 @@ void LnkProperties::done(int ok) } - + if ( !d->preload->isHidden() ) { |