Verified Commit ac8b5b87 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

using common resource dir

parent 5bd40b56
......@@ -25,12 +25,14 @@
*.out
*.app
# External libraries
# External libraries and resources
ext/**
plugins/**
data/**
res/**
tlibs
tlibs2
data
# Temporary files
tmp/**
......
data/res
\ No newline at end of file
......@@ -80,7 +80,7 @@ SgBrowserDlg::SgBrowserDlg(QWidget* pParent, QSettings *pSett)
void SgBrowserDlg::SetupMagSpaceGroups()
{
std::cerr << "Loading magnetic space groups ... ";
m_magsgs.Load("data/magsg.info");
m_magsgs.Load("res/data/magsg.info");
std::cerr << "Done." << std::endl;
const auto *pSgs = m_magsgs.GetSpacegroups();
......
......@@ -441,7 +441,7 @@ int main(int argc, char **argv)
if(argc >= 3)
convert_table(argv[1], argv[2]);
else
convert_table("ext/magsg.dat", "data/magsg.info");
convert_table("ext/magsg.dat", "res/data/magsg.info");
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment