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 @@
#define WITH_TEXT_TO_SPEECH 1 #define WITH_TEXT_TO_SPEECH 1
#define QGC_APPLICATION_NAME "QGroundControl" #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 namespace QGC

2
src/ui/MainWindow.cc

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

2
src/ui/QGCHilConfiguration.cc

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

Loading…
Cancel
Save