History

Cleanup dpi scaling comments

Ryan Huffman committed 11 years ago

Commit a8999961 parent 47519742 files · +3 −17Browse files

Showing the changes to interface/src/ui/PreferencesDialog.cpp (1 of 2 files). Show all

Unified · Split

interface/src/ui/PreferencesDialog.cpp+0−6
@@ -49,15 +49,9 @@ PreferencesDialog::PreferencesDialog(QWidget* parent) : · 48 unmodified lines
4949 move(parentWidget()->geometry().topLeft());
5050 setFixedHeight(parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING);
5151
52− auto glCanvas = DependencyManager::get<GLCanvas>();
53−
54− // All font sizes are based on 72 DPI.
55− float dpiScale = 72.0f / glCanvas->logicalDpiX();
56−
5752 UIUtil::scaleWidgetFontSizes(this);
5853 }
5954
60−
6155 void PreferencesDialog::accept() {
6256 savePreferences();
6357 close();