Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/panelfunc.cpp
Show First 20 Lines • Show All 907 Lines • ▼ Show 20 Line(s) | |||||
908 | 908 | | |||
909 | QUrl ListPanelFunc::browsableArchivePath(const QString &filename) | 909 | QUrl ListPanelFunc::browsableArchivePath(const QString &filename) | ||
910 | { | 910 | { | ||
911 | FileItem *fileitem = files()->getFileItem(filename); | 911 | FileItem *fileitem = files()->getFileItem(filename); | ||
912 | QUrl url = files()->getUrl(filename); | 912 | QUrl url = files()->getUrl(filename); | ||
913 | QString mime = fileitem->getMime(); | 913 | QString mime = fileitem->getMime(); | ||
914 | 914 | | |||
915 | if(url.isLocalFile()) { | 915 | if(url.isLocalFile()) { | ||
916 | QString protocol = KrServices::registeredProtocol(mime); | 916 | QString protocol = krArcMan.registeredProtocol(mime); | ||
917 | if(!protocol.isEmpty()) { | 917 | if(!protocol.isEmpty()) { | ||
918 | url.setScheme(protocol); | 918 | url.setScheme(protocol); | ||
919 | return url; | 919 | return url; | ||
920 | } | 920 | } | ||
921 | } | 921 | } | ||
922 | return QUrl(); | 922 | return QUrl(); | ||
923 | } | 923 | } | ||
924 | 924 | | |||
▲ Show 20 Lines • Show All 413 Lines • Show Last 20 Lines |