Changeset 143 in tspsg-svn for trunk/src/settingsdialog.cpp
- Timestamp:
- Oct 13, 2010, 10:25:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/settingsdialog.cpp
r141 r143 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.