Changeset 113 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Sep 7, 2006, 12:38:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r112 r113 88 88 89 89 QSettings settings; 90 91 90 _proxyHostLineEdit = new QLineEdit(settings.value("proxyHost").toString()); 92 91 _proxyHostLineEdit->setMaximumWidth(12*ww); … … 439 438 QFont newFont = QFontDialog::getFont(&ok, this->font(), this); 440 439 if (ok) { 440 QSettings settings; 441 settings.setValue("font", newFont.toString()); 441 442 QApplication::setFont(newFont); 442 } 443 } 443 int ww = QFontMetrics(newFont).width('w'); 444 setMinimumSize(90*ww, 80*ww); 445 } 446 }
Note:
See TracChangeset
for help on using the changeset viewer.