author | llornkcor <llornkcor> | 2002-06-16 14:01:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-16 14:01:21 (UTC) |
commit | cae5010a012b006d88bce9ca95b605639a3c23ad (patch) (unidiff) | |
tree | 7f70b25a1657805b4f16acc7d9c6f178ad1b65fe /library/lnkproperties.cpp | |
parent | 923c0cbd81be6234507ef5d6c1877e55f407b7a6 (diff) | |
download | opie-cae5010a012b006d88bce9ca95b605639a3c23ad.zip opie-cae5010a012b006d88bce9ca95b605639a3c23ad.tar.gz opie-cae5010a012b006d88bce9ca95b605639a3c23ad.tar.bz2 |
added filepath to titlebar
-rw-r--r-- | library/lnkproperties.cpp | 1 |
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 | ||
122 | LnkProperties::~LnkProperties() | 123 | LnkProperties::~LnkProperties() |
123 | { | 124 | { |
124 | } | 125 | } |
125 | 126 | ||
126 | void LnkProperties::unlinkLnk() | 127 | void 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.") ); |