summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-23 01:16:37 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-23 01:16:37 (GMT)
commit3c7a85af570e5609f4a6625e06410f31fa4d4f0f (patch)
tree6f2f97a520d356bba65bc4b66e824f3e5c05dd99 /src/mainwin.cc
parent255190589527a6dbe4a6ef26f39abb126d348649 (diff)
debugging and rearranging to find issue
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 3fdee6b..7c4738c 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -1822,6 +1822,9 @@ MainWindow::preferences()
void MainWindow::setFont(const QString &family, uint size)
{
+#include <iostream>
+ std::cout << "mainwin setFont\n";
+ std::cout << "pref size: " << Preferences::inst()->getValue("editor/fontsize").toUInt() << "\n";
QFont font;
if (!family.isEmpty()) font.setFamily(family);
else font.setFixedPitch(true);
contact: Jan Huwald // Impressum