From 5773adb42c257e269dfb083bba8c797c6a3db40a Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sun, 8 Nov 2015 21:16:44 -0600 Subject: Fix #8, last choice in theme and alphabet combox didn't work. I had reserved the last spot for "Add new theme/alphabet", but then abandoned that feature for v1. But forgot to rip out the code handling it. Bump version number to 1.0.1. --- quacker/quacker.cpp | 4 ++-- quacker/quacker.pro | 2 +- quacker/settings.cpp | 22 ++++++++++++---------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp index e42ebc0..6b5becb 100644 --- a/quacker/quacker.cpp +++ b/quacker/quacker.cpp @@ -2118,7 +2118,7 @@ void TopLevel::firstTimeRun() void TopLevel::about() { QString aboutText = tr( -"

Quackle 1.0 is a crossword game playing, analysis, and study tool. Visit the Quackle homepage at http://quackle.org for more information.

" +"

Quackle 1.0.1 is a crossword game playing, analysis, and study tool. Visit the Quackle homepage at http://quackle.org for more information.

" "

Quackle was written by Jason Katz-Brown, John O'Laughlin, John Fultz, Matt Liberty, and Anand Buddhdev. We thank the anonymous donor who made this software free.

" "

Copyright 2005-2015 by

" ""; } - QMessageBox::about(this, tr("About Quackle 1.0"), dialogText(aboutText)); + QMessageBox::about(this, tr("About Quackle 1.0.1"), dialogText(aboutText)); } void TopLevel::hints() diff --git a/quacker/quacker.pro b/quacker/quacker.pro index ca975c4..310089a 100644 --- a/quacker/quacker.pro +++ b/quacker/quacker.pro @@ -1,5 +1,5 @@ TEMPLATE = app -VERSION = 1.0 +VERSION = 1.0.1 TARGET = Quackle DEPENDPATH += .. ../quackleio INCLUDEPATH += . .. diff --git a/quacker/settings.cpp b/quacker/settings.cpp index 6cbcb74..6e80afe 100644 --- a/quacker/settings.cpp +++ b/quacker/settings.cpp @@ -440,11 +440,12 @@ void Settings::lexiconChanged(const QString &lexiconName) void Settings::alphabetChanged(const QString &alphabetName) { - if (m_alphabetNameCombo->currentIndex() == m_alphabetNameCombo->count() - 1) - { - editAlphabet(); - return; - } + // Uncomment when we support an add/edit alphabet dialog + // if (m_alphabetNameCombo->currentIndex() == m_alphabetNameCombo->count() - 1) + // { + // editAlphabet(); + // return; + // } setQuackleToUseAlphabetName(alphabetName); CustomQSettings settings; @@ -455,11 +456,12 @@ void Settings::alphabetChanged(const QString &alphabetName) void Settings::themeChanged(const QString &themeName) { - if (m_themeNameCombo->currentIndex() == m_themeNameCombo->count() - 1) - { - editTheme(); - return; - } + // Uncomment when we support an add/edit theme dialog + // if (m_themeNameCombo->currentIndex() == m_themeNameCombo->count() - 1) + // { + // editTheme(); + // return; + // } setQuackleToUseThemeName(themeName); CustomQSettings settings; -- cgit v1.2.3