X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fargumentseditor.h;h=68b7d1fb241fc5180b940c8e8ab21052d63963a8;hb=b7eb152364aa276bb4af7536bcc41f06cdce4bd5;hp=e6b3d8fd65f01043ad5072787d0a622a18a90d44;hpb=661842de4c97a5d1660b7148022fdbd6fd473827;p=apitrace diff --git a/gui/argumentseditor.h b/gui/argumentseditor.h index e6b3d8f..68b7d1f 100644 --- a/gui/argumentseditor.h +++ b/gui/argumentseditor.h @@ -25,8 +25,8 @@ class ArgumentsItemEditorFactory : public QItemEditorFactory { public: ArgumentsItemEditorFactory(); - QWidget *createEditor(QVariant::Type type, QWidget *parent) const; - QByteArray valuePropertyName(QVariant::Type) const; + QWidget *createEditor(QMetaType::Type type, QWidget *parent) const; + QByteArray valuePropertyName(QMetaType::Type) const; }; class ArgumentsEditor : public QDialog @@ -49,7 +49,7 @@ private slots: private: void init(); void setupCall(); - void setupShaderEditor(const QList &sources); + void setupShaderEditor(const QVector &sources); QVariant valueForName(const QString &name, const QVariant &orignalValue, bool *changed) const;