Changeset ac76a6a753 in tspsg for src/settingsdialog.cpp


Ignore:
Timestamp:
Sep 2, 2010, 3:48:11 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
7cd6da5021
Parents:
e26679937d
git-author:
Oleksii Serdiuk <contacts@…> (09/02/10 15:48:11)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
Message:

+ Added an option to remember last used directory when saving and opening.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    re26679937d rac76a6a753  
    200200
    201201        cbAutosize->setChecked(settings->value("Autosize", DEF_AUTOSIZE).toBool());
     202        cbSaveLastUsed->setChecked(settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool());
    202203        cbUseNativeDialogs->setChecked(settings->value("UseNativeDialogs", DEF_USE_NATIVE_DIALOGS).toBool());
    203204#ifdef Q_OS_WIN32
     
    310311                        return;
    311312        }
    312 #ifndef HANDHELD
    313         settings->setValue("SavePos", cbSaveState->isChecked());
    314 #endif // HANDHELD
     313        settings->setValue("Autosize", cbAutosize->isChecked());
     314        settings->setValue("SaveLastUsed", cbSaveLastUsed->isChecked());
     315        settings->setValue("UseNativeDialogs", cbUseNativeDialogs->isChecked());
    315316#ifdef Q_OS_WIN32
    316317        if (QtWin::isCompositionEnabled()) {
     
    323324        }
    324325#endif // Q_OS_WIN32
    325         settings->setValue("Autosize", cbAutosize->isChecked());
    326         settings->setValue("UseNativeDialogs", cbUseNativeDialogs->isChecked());
     326#ifndef HANDHELD
     327        settings->setValue("SavePos", cbSaveState->isChecked());
     328#endif // HANDHELD
    327329
    328330        settings->beginGroup("Task");
Note: See TracChangeset for help on using the changeset viewer.