Skip to content

Commit

Permalink
Forward-port updates (#1633)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Aug 9, 2022
1 parent ac6e9e0 commit ebcce09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ since pose information is being logged in the `changed_state` topic.
+ `ViewAndle`: Move camera to preset angles

* The `gui.config` and `server.config` files are now located in a versioned
folder inside `$HOME/.ignition/gazebo`, i.e. `$HOME/.ignition/gazebo/6/gui.config`.
folder inside `$HOME/.gz/sim`, i.e. `$HOME/.gz/sim/6/gui.config`.

* The `Component::Clone` method has been marked `const` to reflect that it
should not mutate internal component state. Component implementations that
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/custom_sensor_system/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include(FetchContent)
FetchContent_Declare(
sensors_clone
GIT_REPOSITORY https://github.com/gazebosim/gz-sensors
GIT_TAG main
GIT_TAG gz-sensors7
)
FetchContent_Populate(sensors_clone)
add_subdirectory(${sensors_clone_SOURCE_DIR}/examples/custom_sensor ${sensors_clone_BINARY_DIR})
Expand Down
2 changes: 1 addition & 1 deletion src/gui/Gui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ std::string launchQuickStart(int &_argc, char **_argv,
_argc, _argv, gz::gui::WindowType::kDialog);
app->SetDefaultConfigPath(_defaultConfig);

auto quickStartHandler = new gui::QuickStartHandler();
auto quickStartHandler = new QuickStartHandler();
quickStartHandler->setParent(app->Engine());

auto dialog = new gz::gui::Dialog();
Expand Down
4 changes: 2 additions & 2 deletions src/gui/QuickStartHandler.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <QtCore>
#include <string>

#include "gz/sim/Export.hh"
#include "gz/sim/config.hh"
#include "gz/sim/gui/Export.hh"

namespace gz
{
Expand All @@ -32,7 +32,7 @@ inline namespace GZ_SIM_VERSION_NAMESPACE {
namespace gui
{
/// \brief Class for handling quick start dialog
class QuickStartHandler : public QObject
class GZ_SIM_GUI_VISIBLE QuickStartHandler : public QObject
{
Q_OBJECT

Expand Down

0 comments on commit ebcce09

Please sign in to comment.