Browse Source

Don't use deprecated Q_ENUMS

See: https://doc.qt.io/qt-5/qobject-obsolete.html#Q_ENUMS
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
0f34e3bed9
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/fspathedit.h

2
src/gui/fspathedit.h

@ -44,7 +44,6 @@ namespace Private @@ -44,7 +44,6 @@ namespace Private
class FileSystemPathEdit : public QWidget
{
Q_OBJECT
Q_ENUMS(Mode)
Q_PROPERTY(Mode mode READ mode WRITE setMode)
Q_PROPERTY(QString selectedPath READ selectedPath WRITE setSelectedPath NOTIFY selectedPathChanged)
Q_PROPERTY(QString fileNameFilter READ fileNameFilter WRITE setFileNameFilter)
@ -60,6 +59,7 @@ public: @@ -60,6 +59,7 @@ public:
DirectoryOpen, //!< selecting existing directories
DirectorySave //!< selecting directories for saving
};
Q_ENUM(Mode)
Mode mode() const;
void setMode(Mode mode);

Loading…
Cancel
Save