commit 3f2c70878939dde5d8cef139bde2d086c4de4e3b
parent 0e7795f2a77552e21cc98f5d706dd07770297028
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 26 May 2016 07:04:28 +0200
kivy: metrics.dpi seems to be deprecated
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
@@ -26,7 +26,7 @@ from kivy.properties import (OptionProperty, AliasProperty, ObjectProperty,
from kivy.cache import Cache
from kivy.clock import Clock
from kivy.factory import Factory
-from kivy.metrics import inch, metrics
+from kivy.metrics import inch
from kivy.lang import Builder
# lazy imports for factory so that widgets can be used in kv
@@ -366,7 +366,6 @@ class ElectrumWindow(App):
'''
import time
Logger.info('Time to on_start: {} <<<<<<<<'.format(time.clock()))
- Logger.info("dpi: {} {}".format(metrics.dpi, metrics.dpi_rounded))
win = Window
win.bind(size=self.on_size, on_keyboard=self.on_keyboard)
win.bind(on_key_down=self.on_key_down)