data: make Qt Windows Vista style available for windows 10

This commit is contained in:
mlangkabel
2019-08-06 10:55:50 +02:00
parent 6a3561cb87
commit 21f25a0b00
4 changed files with 14 additions and 3 deletions
+2
View File
@@ -82,6 +82,8 @@ QCoreApplication* createApplication(int &argc, char *argv[], bool noGUI = false)
int main(int argc, char *argv[])
{
QCoreApplication::addLibraryPath(".");
if (utility::getOsType() == OS_LINUX && std::getenv("SOURCETRAIL_VIA_SCRIPT") == nullptr)
{
std::cout << "ERROR: Please run Sourcetrail via the Sourcetrail.sh script!" << std::endl;