summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-29 08:07:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-29 08:07:14 +0100
commitee4b6e0f322cb781b146e38314afd2edbcb4e86c (patch)
tree68bfd40222932a512f49c970f9897c79407e7606 /facetracknoir
parenta5c8a7ed8edf60688b4c732d22db1c9a38c7c262 (diff)
move var into ifdef'd portion
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/global-settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index aa334463..b198f327 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -84,8 +84,8 @@ SelectedLibraries::SelectedLibraries(IDynamicLibraryProvider* mainApp) :
DynamicLibrary::DynamicLibrary(const QString& filename)
{
this->filename = filename;
- QString fullPath = QCoreApplication::applicationDirPath() + "/" + this->filename;
#if defined(_WIN32)
+ QString fullPath = QCoreApplication::applicationDirPath() + "/" + this->filename;
handle = new QLibrary(fullPath);
Dialog = (SETTINGS_FUNCTION) handle->resolve(MAYBE_STDCALL_UNDERSCORE "GetDialog" CALLING_CONVENTION_SUFFIX_VOID_FUNCTION);
Constructor = (NULLARY_DYNAMIC_FUNCTION) handle->resolve(MAYBE_STDCALL_UNDERSCORE "GetConstructor" CALLING_CONVENTION_SUFFIX_VOID_FUNCTION);