Browse Source

hide start at boot option if not supported

master
Robin Thoni 10 years ago
parent
commit
e4636d1eca
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      netsoul/dialogoptions.cpp

+ 5
- 0
netsoul/dialogoptions.cpp View File

@@ -15,6 +15,11 @@ DialogOptions::DialogOptions(QWidget *parent) : QDialog(parent), ui(new Ui::Dial
15 15
 	ui->spinAutoreconnectInterval->setValue(Options::instance()->getAutoReconnectInterval());
16 16
 	connect(this, SIGNAL(accepted()), this, SLOT(save()));
17 17
 
18
+#ifndef Q_OS_WIN
19
+	ui->checkStartAtBoot->hide();
20
+	ui->label->hide();
21
+#endif
22
+
18 23
 }
19 24
 
20 25
 DialogOptions::~DialogOptions()

Loading…
Cancel
Save