Browse Source

Small runtime fixes

QGC4.4
Lorenz Meier 12 years ago
parent
commit
5f322e475b
  1. 2
      src/configuration.h
  2. 2
      src/ui/MainWindow.cc
  3. 2
      src/ui/QGCHilConfiguration.cc

2
src/configuration.h

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
#define WITH_TEXT_TO_SPEECH 1
#define QGC_APPLICATION_NAME "QGroundControl"
#define QGC_APPLICATION_VERSION "v. 1.0.2 (beta)"
#define QGC_APPLICATION_VERSION "v. 1.0.5 (beta)"
namespace QGC

2
src/ui/MainWindow.cc

@ -236,7 +236,7 @@ MainWindow::MainWindow(QWidget *parent): @@ -236,7 +236,7 @@ MainWindow::MainWindow(QWidget *parent):
const int screenWidth = QApplication::desktop()->width();
const int screenHeight = QApplication::desktop()->height();
if (screenWidth < 1400)
if (screenWidth < 1500)
{
resize(screenWidth, screenHeight - 80);
show();

2
src/ui/QGCHilConfiguration.cc

@ -22,10 +22,10 @@ QGCHilConfiguration::QGCHilConfiguration(UAS *mav, QWidget *parent) : @@ -22,10 +22,10 @@ QGCHilConfiguration::QGCHilConfiguration(UAS *mav, QWidget *parent) :
settings.beginGroup("QGC_HILCONFIG");
if (i > 0) {
on_simComboBox_currentIndexChanged(i);
ui->simComboBox->blockSignals(true);
ui->simComboBox->setCurrentIndex(i);
ui->simComboBox->blockSignals(false);
on_simComboBox_currentIndexChanged(i);
}
settings.endGroup();

Loading…
Cancel
Save