Changeset ccdffe3a5f in tspsg for src/settingsdialog.cpp
- Timestamp:
- Mar 31, 2013, 6:31:10 PM (12 years ago)
- Branches:
- 0.1.4.170-beta2-bb10
- Children:
- 628500a5d6
- Parents:
- 95b0ef73dc
- git-author:
- Oleksii Serdiuk <contacts@…> (03/31/13 18:31:10)
- git-committer:
- Oleksii Serdiuk <contacts@…> (03/31/13 21:45:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/settingsdialog.cpp
r95b0ef73dc rccdffe3a5f 419 419 void SettingsDialog::buttonFontClicked() 420 420 { 421 bool ok; 422 QFont font = QFontDialog::getFont(&ok,this->font,this); 423 if (ok && (this->font != font)) { 424 this->font = font; 425 _newFont = true; 426 } 421 QFontDialog fd(font, this); 422 #ifdef Q_OS_BLACKBERRY 423 fd.setWindowState(Qt::WindowMaximized); 424 #endif 425 if ((fd.exec() != QDialog::Accepted) || (fd.selectedFont() == font)) 426 return; 427 font = fd.selectedFont(); 428 _newFont = true; 427 429 } 428 430
Note: See TracChangeset
for help on using the changeset viewer.