author | llornkcor <llornkcor> | 2002-06-03 18:16:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-03 18:16:49 (UTC) |
commit | 8d5f42d770abca69d490774f4b1fc8284e7a86be (patch) (unidiff) | |
tree | bb40659658517007ddbab1044a376618ee897e8f /noncore | |
parent | d068b0a50826a189d11e2f2037ee21a4c0850567 (diff) | |
download | opie-8d5f42d770abca69d490774f4b1fc8284e7a86be.zip opie-8d5f42d770abca69d490774f4b1fc8284e7a86be.tar.gz opie-8d5f42d770abca69d490774f4b1fc8284e7a86be.tar.bz2 |
fixed bug with opening in app
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 869a433..a000e9b 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -1686,15 +1686,15 @@ void AdvancedFm::showFileMenu() { | |||
1686 | m.insertSeparator(); | 1686 | m.insertSeparator(); |
1687 | if ( QFileInfo(fi).isDir() ) { | 1687 | if ( QFileInfo(fi).isDir() ) { |
1688 | m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); | 1688 | m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); |
1689 | } else { | 1689 | } else { |
1690 | 1690 | ||
1691 | if ( app ) | 1691 | if ( app ) |
1692 | m.insertItem( app->pixmap(), tr( "Open in " + app->name() ), this, SLOT( run() ) ); | 1692 | m.insertItem( app->pixmap(), tr( "Open in " + app->name() ), this, SLOT( runThis() ) ); |
1693 | else if( QFileInfo(fi).isExecutable() ) | 1693 | else if( QFileInfo(fi).isExecutable() ) |
1694 | m.insertItem( tr( "Execute" ), this, SLOT( run() ) ); | 1694 | m.insertItem( tr( "Execute" ), this, SLOT( runThis() ) ); |
1695 | 1695 | ||
1696 | m.insertItem( /*Resource::loadPixmap( "txt" ),*/ tr( "Open as text" ),this, SLOT( runText() ) ); | 1696 | m.insertItem( /*Resource::loadPixmap( "txt" ),*/ tr( "Open as text" ),this, SLOT( runText() ) ); |
1697 | } | 1697 | } |
1698 | m.insertSeparator(); | 1698 | m.insertSeparator(); |
1699 | 1699 | ||
1700 | 1700 | ||