]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/mousewidget.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / mousewidget.cpp
index 5b99dcd199e7ebba9bd6405cd39458ba2617e79b..174ba5988a3b4fb028561483074996a183349c60 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -24,19 +26,20 @@ MouseWidget::MouseWidget(QWidget * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
        ui.lLeftButton->setText("");
        ui.lRightButton->setText("");
 
-       int fsize;
 #ifdef __APPLE__
-       fsize = 9;
+       int fsize = 9;
 #else
-       fsize = 7;
+       int fsize = 7;
 #endif
 
        settings.beginGroup("Appearance");
        fsize = settings.value("StatusBarFontSize", fsize).toInt();
        settings.endGroup();
 
-       ui.lLeftButton->setFont(QFont("Helvetica", fsize));
-       ui.lRightButton->setFont(QFont("Helvetica", fsize));
+//     ui.lLeftButton->setFont(QFont("Helvetica", fsize));
+//     ui.lRightButton->setFont(QFont("Helvetica", fsize));
+       ui.lLeftButton->setFont(QFont("Verdana", fsize));
+       ui.lRightButton->setFont(QFont("Verdana", fsize));
 }
 
 MouseWidget::~MouseWidget()