소스 검색

set default tab

Paul 11 년 전
부모
커밋
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());