Changeset View
Changeset View
Standalone View
Standalone View
components/Global.cpp
Context not available. | |||||
45 | { | 45 | { | ||
---|---|---|---|---|---|
46 | } | 46 | } | ||
47 | 47 | | |||
48 | void Global::loadPlugins() | | |||
49 | { | | |||
50 | | ||||
51 | } | | |||
52 | | ||||
53 | int Global::documentType(const QUrl& document) | 48 | int Global::documentType(const QUrl& document) | ||
54 | { | 49 | { | ||
55 | int result = DocumentType::Unknown; | 50 | int result = DocumentType::Unknown; | ||
51 | | ||||
52 | if (!document.isValid()) { | ||||
53 | return result; | ||||
54 | } | ||||
55 | | ||||
56 | const QUrlQuery query(document); | 56 | const QUrlQuery query(document); | ||
57 | 57 | | |||
58 | // First, check if the URL gives us specific information on this topic (such as asking for a new file) | 58 | // First, check if the URL gives us specific information on this topic (such as asking for a new file) | ||
Context not available. |