Commit 4119f97f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt compile fix

parent bd2e2e8d
...@@ -819,7 +819,7 @@ void KeySelectorControl::doApply() ...@@ -819,7 +819,7 @@ void KeySelectorControl::doApply()
} }
KeyInputDialog::KeyInputDialog( QList<module_config_t*>& _values, KeyInputDialog::KeyInputDialog( QList<module_config_t*>& _values,
char * _keyToChange ) : const char * _keyToChange ) :
QDialog(0), keyValue(0) QDialog(0), keyValue(0)
{ {
setModal( true ); setModal( true );
......
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
} }
virtual ~ConfigControl() {}; virtual ~ConfigControl() {};
virtual int getType() = 0; virtual int getType() = 0;
char * getName() { return p_item->psz_name; } const char * getName() { return p_item->psz_name; }
QWidget *getWidget() { assert( widget ); return widget; } QWidget *getWidget() { assert( widget ); return widget; }
bool isAdvanced() { return p_item->b_advanced; } bool isAdvanced() { return p_item->b_advanced; }
virtual void hide() { getWidget()->hide(); }; virtual void hide() { getWidget()->hide(); };
...@@ -315,14 +315,14 @@ private slot: ...@@ -315,14 +315,14 @@ private slot:
class KeyInputDialog : public QDialog class KeyInputDialog : public QDialog
{ {
public: public:
KeyInputDialog( QList<module_config_t *> &, char * ); KeyInputDialog( QList<module_config_t *> &, const char * );
int keyValue; int keyValue;
bool conflicts; bool conflicts;
private: private:
void keyPressEvent( QKeyEvent *); void keyPressEvent( QKeyEvent *);
QLabel *selected; QLabel *selected;
QLabel *warning; QLabel *warning;
char * keyToChange; const char * keyToChange;
QList<module_config_t*> values; QList<module_config_t*> values;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment