SavePlaylistsDialog: Add parent to ctor
This commit is contained in:
parent
c39489060b
commit
f03ff452b8
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "playlist/playlist.h"
|
||||
|
||||
SavePlaylistsDialog::SavePlaylistsDialog(const QStringList &types, const QString &default_extension) : ui_(new Ui_SavePlaylistsDialog) {
|
||||
SavePlaylistsDialog::SavePlaylistsDialog(const QStringList &types, const QString &default_extension, QWidget *parent) : QDialog(parent), ui_(new Ui_SavePlaylistsDialog) {
|
||||
|
||||
ui_->setupUi(this);
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ class SavePlaylistsDialog : public QDialog {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SavePlaylistsDialog(const QStringList &types, const QString &default_extension);
|
||||
explicit SavePlaylistsDialog(const QStringList &types, const QString &default_extension, QWidget *parent = nullptr);
|
||||
~SavePlaylistsDialog();
|
||||
|
||||
QString path() const { return ui_->lineedit_path->text(); }
|
||||
|
|
Loading…
Reference in New Issue