Skip to content

Commit

Permalink
Update Marker Editor Dialog #325
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 25, 2024
1 parent 6f5434a commit 3928e6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/ui/dialogs/markereditordialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ using namespace Friction::Ui;

MarkerEditorDialog::MarkerEditorDialog(Canvas *scene,
QWidget *parent)
: QDialog{parent}
: Dialog{parent}
{
setWindowTitle(tr("Marker Editor"));
#ifdef Q_OS_MAC
setWindowFlag(Qt::WindowStaysOnTopHint);
#endif

setContentsMargins(0, 0, 0, 0);
const auto lay = new QVBoxLayout(this);
Expand Down
3 changes: 2 additions & 1 deletion src/ui/dialogs/markereditordialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
#include <QDialog>

#include "canvas.h"
#include "dialog.h"

namespace Friction
{
namespace Ui
{
class UI_EXPORT MarkerEditorDialog : public QDialog
class UI_EXPORT MarkerEditorDialog : public Dialog
{
Q_OBJECT
public:
Expand Down

0 comments on commit 3928e6f

Please sign in to comment.