Commit c219e00a authored by Adrian Georgescu's avatar Adrian Georgescu

Handle screens with custom resolutions

parent ac31b427
......@@ -44,6 +44,11 @@ from blink.util import QSingleton, run_in_gui_thread
__all__ = ['Blink']
# Handle high resolution displays:
if hasattr(Qt, 'AA_EnableHighDpiScaling'):
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
if hasattr(Qt, 'AA_UseHighDpiPixmaps'):
QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)
if hasattr(sys, 'frozen'):
import httplib2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment