summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index 7c54828e..6101cf39 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -58,7 +58,8 @@ typedef Archive* (*CreateArchiveType)();
-template <typename T> T resolveFunction(QLibrary &lib, const char *name)
+template <typename T>
+static T resolveFunction(QLibrary &lib, const char *name)
{
T temp = reinterpret_cast<T>(lib.resolve(name));
if (temp == nullptr) {
@@ -200,7 +201,7 @@ QString InstallationManager::extractFile(const QString &fileName)
}
-QString canonicalize(const QString &name)
+static QString canonicalize(const QString &name)
{
QString result(name);
if ((result.startsWith('/')) ||