Changeset 26 in tspsg-svn for trunk/src


Ignore:
Timestamp:
Jun 22, 2009, 5:42:56 PM (15 years ago)
Author:
laleppa
Message:

+ Status tip for font color selection button in settings.

  • Number of cities wasn't saved in wince version.
Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainwindow.cpp

    r23 r26  
    150150}
    151151
    152 #ifndef Q_OS_WINCE
    153152void MainWindow::closeEvent(QCloseEvent *event)
    154153{
     154        settings->setValue("NumCities",spinCities->value());
     155#ifndef Q_OS_WINCE
    155156        // Saving windows state
    156         settings->setValue("NumCities",spinCities->value());
    157157        if (settings->value("SavePos",false).toBool()) {
    158158                settings->beginGroup("MainWindow");
     
    164164                settings->endGroup();
    165165        }
     166#endif // Q_OS_WINCE
    166167        QMainWindow::closeEvent(event);
    167168}
    168 #endif // Q_OS_WINCE
  • trunk/src/mainwindow.h

    r23 r26  
    4141public:
    4242        MainWindow(QWidget *parent = 0);
    43 #ifndef Q_OS_WINCE
    4443        void closeEvent(QCloseEvent *event);
    45 #endif // Q_OS_WINCE
    4644private slots:
    4745        void ChangeSettings();
Note: See TracChangeset for help on using the changeset viewer.