Commit 0c6ddb9b authored by Christophe Mutricy's avatar Christophe Mutricy

Initialize the verbosity box

parent 9cd790fc
...@@ -40,7 +40,8 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf, bool _main_input ) : ...@@ -40,7 +40,8 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf, bool _main_input ) :
QPushButton *clearButton = new QPushButton(qtr("&Clear")); QPushButton *clearButton = new QPushButton(qtr("&Clear"));
QPushButton *saveLogButton = new QPushButton(qtr("&Save as...")); QPushButton *saveLogButton = new QPushButton(qtr("&Save as..."));
QSpinBox *verbosityBox = new QSpinBox(); QSpinBox *verbosityBox = new QSpinBox();
verbosityBox->setRange(1, 3); verbosityBox->setRange(0, 2);
verbosityBox->setValue(config_GetInt(p_intf, "verbose"));
verbosityBox->setWrapping(true); verbosityBox->setWrapping(true);
QLabel *verbosityLabel = new QLabel(qtr("Verbosity Level")); QLabel *verbosityLabel = new QLabel(qtr("Verbosity Level"));
messages = new QTextEdit(); messages = new QTextEdit();
......
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