Paul 11 лет назад
Родитель
Сommit
055e41794a
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      utilities/q-gears-launcher/src/mainwindow.cpp

+ 7 - 0
utilities/q-gears-launcher/src/mainwindow.cpp

@@ -13,6 +13,13 @@ static bool installerCreated = false;
 MainWindow::MainWindow(QWidget *parent) :QMainWindow(parent), mUi(new Ui::MainWindow)
 {
     mUi->setupUi(this);
+
+    // Goto the data tab by default
+    mUi->tabWidget->setCurrentIndex(1);
+
+    // Turn off the launcher tab for now since it dosen't actually work
+    mUi->tabWidget->setTabEnabled(0, false);
+
     initSettings();
 
     mUi->lineConfigDir->setText(mSettings->value("ConfigDir").toString());