summaryrefslogtreecommitdiff
path: root/library/lnkproperties.cpp
Unidiff
Diffstat (limited to 'library/lnkproperties.cpp') (more/less context) (show whitespace changes)
-rw-r--r--library/lnkproperties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp
index abd430c..ebfd4bf 100644
--- a/library/lnkproperties.cpp
+++ b/library/lnkproperties.cpp
@@ -108,24 +108,25 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent )
108 if ( l->property("CanFastload") == "0" ) 108 if ( l->property("CanFastload") == "0" )
109 d->preload->hide(); 109 d->preload->hide();
110 110
111 Config cfg("Launcher"); 111 Config cfg("Launcher");
112 cfg.setGroup("Preload"); 112 cfg.setGroup("Preload");
113 QStringList apps = cfg.readListEntry("Apps",','); 113 QStringList apps = cfg.readListEntry("Apps",',');
114 d->preload->setChecked( apps.contains(l->exec()) ); 114 d->preload->setChecked( apps.contains(l->exec()) );
115 if ( Global::isBuiltinCommand(lnk->exec()) ) 115 if ( Global::isBuiltinCommand(lnk->exec()) )
116 d->preload->hide(); // builtins are always fast 116 d->preload->hide(); // builtins are always fast
117 117
118 currentLocation = 0; // apps not movable (yet) 118 currentLocation = 0; // apps not movable (yet)
119 } 119 }
120 setCaption( l->file());
120} 121}
121 122
122LnkProperties::~LnkProperties() 123LnkProperties::~LnkProperties()
123{ 124{
124} 125}
125 126
126void LnkProperties::unlinkLnk() 127void LnkProperties::unlinkLnk()
127{ 128{
128 if ( QPEMessageBox::confirmDelete( this, tr("Delete"), lnk->name() ) ) { 129 if ( QPEMessageBox::confirmDelete( this, tr("Delete"), lnk->name() ) ) {
129 lnk->removeFiles(); 130 lnk->removeFiles();
130 if ( QFile::exists(lnk->file()) ) { 131 if ( QFile::exists(lnk->file()) ) {
131 QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") ); 132 QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") );