Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Commit

Permalink
- Use .pro to set version number definition
Browse files Browse the repository at this point in the history
- Change default map refresh down to 1 second.
  • Loading branch information
3vi1 committed Mar 21, 2017
1 parent 6d02136 commit 22b3735
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/imp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = imp
TEMPLATE = app

VERSION = 0.7.6
VERSION = 0.7.7
QMAKE_TARGET_COMPANY = EternalDusk
QMAKE_TARGET_DESCRIPTION = Eve Online Intelligence Management Program
QMAKE_TARGET_COPYRIGHT = (c) Copyright 2016-2017 Jesse Litton
QMAKE_TARGET_PRODUCT = IMP

DEFINES += VERSION=\\\"$VERSION\\\"

SOURCES += \
main.cpp\
mainwindow.cpp \
Expand Down
6 changes: 4 additions & 2 deletions src/meta.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@

static const struct Version
{
QString release = "0.7.6";
QString name = "Infernal Phoenix in a Lycanthropic Hot Topic";
Version(){};

QString release = VERSION;
QString name = "Yada yada yada Lycanthropic Hot Topic";

QString styleHeader1 = "<span style=\" color:#0000ff;\">";
QString styleFooter1 = "</span>";
Expand Down
2 changes: 1 addition & 1 deletion src/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void Options::loadSettings(QSettings& settings)
ui->autoPeriodSpin->setValue(settings.value("autoPeriod", 4000).toInt());
ui->autoRefreshSpin->setValue(settings.value("autoRefresh", 33).toInt());
ui->maxEntriesSpinBox->setValue(settings.value("maxEntriesToLoad", 50).toInt());
ui->refreshSpin->setValue(settings.value("mapRefresh", 3000).toInt());
ui->refreshSpin->setValue(settings.value("mapRefresh", 1000).toInt());
ui->pollerSpinBox->setValue(settings.value("pollerRefresh", 500).toInt());
ui->redundantSpinBox->setValue(settings.value("redundantSuppress", 30).toInt());

Expand Down

0 comments on commit 22b3735

Please sign in to comment.