Skip to content

Commit

Permalink
Merge branch 'ahcorde/5/standalone' of https://github.com/ignitionrob…
Browse files Browse the repository at this point in the history
…otics/ign-gui into ahcorde/5/standalone

Signed-off-by: ahcorde <ahcorde@gmail.com>
  • Loading branch information
ahcorde committed Jul 12, 2021
2 parents 4b3789f + 247b98e commit 3733562
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,10 @@ bool Application::LoadPlugin(const std::string &_filename,
std::string delimiter = ";";
#endif

systemPaths.AddPluginPaths(common::joinPaths(home, ".ignition", "gui", "plugins") +
delimiter +
IGN_GUI_PLUGIN_INSTALL_DIR);
systemPaths.AddPluginPaths(
common::joinPaths(home, ".ignition", "gui", "plugins") +
delimiter +
IGN_GUI_PLUGIN_INSTALL_DIR);

auto pathToLib = systemPaths.FindSharedLibrary(_filename);
if (pathToLib.empty())
Expand Down
3 changes: 2 additions & 1 deletion src/MainWindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ MainWindow::MainWindow()
}

App()->setWindowIcon(QIcon(
common::joinPaths(":", "qml", "images", "ignition_logo_50x50.png").c_str()));
common::joinPaths(
":", "qml", "images", "ignition_logo_50x50.png").c_str()));
}

/////////////////////////////////////////////////
Expand Down
1 change: 1 addition & 0 deletions src/cmd/ign.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <string.h>

#include <iostream>
#include <string>

#include <ignition/common/Console.hh>

Expand Down

0 comments on commit 3733562

Please sign in to comment.