Skip to content

Commit

Permalink
Fixes paths
Browse files Browse the repository at this point in the history
  • Loading branch information
aarjaneiro committed Mar 19, 2021
1 parent c6b4215 commit 4863d5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@

MainWindow::MainWindow() {
m_dir = std::string(get_current_dir_name());
if (m_dir.substr(m_dir.length() - 3) == "bin") {
chdir("..");
m_dir = std::string(get_current_dir_name());
}
c_dir = m_dir;
auto config = m_dir;
config.append("/lib/QtLean/assets/config/");
Expand Down

0 comments on commit 4863d5a

Please sign in to comment.