Changeset 9adbc413c7 in tspsg for src/settingsdialog.cpp
- Timestamp:
- Oct 13, 2010, 10:25:51 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 760f2aae97
- Parents:
- 88a59e4d65
- git-author:
- Oleksii Serdiuk <contacts@…> (10/13/10 22:25:51)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/settingsdialog.cpp
r88a59e4d65 r9adbc413c7 38 38 39 39 buttonBox->button(QDialogButtonBox::Ok)->setIcon(GET_ICON("dialog-ok")); 40 #ifndef QT_NO_STATUSTIP 40 41 buttonBox->button(QDialogButtonBox::Ok)->setStatusTip(tr("Save new preferences")); 42 #endif 41 43 buttonBox->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor)); 42 44 buttonBox->button(QDialogButtonBox::Cancel)->setIcon(GET_ICON("dialog-cancel")); 45 #ifndef QT_NO_STATUSTIP 43 46 buttonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Close without saving preferences")); 47 #endif 44 48 buttonBox->button(QDialogButtonBox::Cancel)->setCursor(QCursor(Qt::PointingHandCursor)); 45 49 … … 219 223 connect(buttonColor, SIGNAL(clicked()), SLOT(buttonColorClicked())); 220 224 setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint); 221 #if ndef HANDHELD225 #if !defined(QT_NO_STATUSTIP) && !defined(HANDHELD) 222 226 // Setting initial text of dialog hint label to own status tip text. 223 227 labelHint->setText(labelHint->statusTip()); … … 459 463 } 460 464 461 #if ndef HANDHELD465 #if !defined(QT_NO_STATUSTIP) && !defined(HANDHELD) 462 466 bool SettingsDialog::event(QEvent *ev) 463 467 {
Note: See TracChangeset
for help on using the changeset viewer.