Hi! This is my first time to program in Qt and having problems with QSettings. I followed a code i saw online

Qt Code:
  1. private:
  2. QSettings settings;
To copy to clipboard, switch view to plain text mode 

and adding this to the constructor:
Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) :
  2. ...
  3. settings("Contemposoft", "SimpleTextEdit")
To copy to clipboard, switch view to plain text mode 

but i get the folowing error:

no match for call to '(QSettings) (const char [5], const char [8])'

thanks