All clock texts visible
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Fri, 12 Aug 2011 19:36:01 +0000 (22:36 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Fri, 12 Aug 2011 19:36:01 +0000 (22:36 +0300)
No more black on black. Set a white foregroundcolor in a stylesheet

main.cpp

index 4287e0b..cda3d95 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -1,3 +1,24 @@
+/**************************************************************************
+
+   Chess Clock
+
+   This file is part of Chess Clock software.
+
+   (This file) Copyright (c) Heli Hyvättinen 2011
+
+   Chess Clock is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+
+   Chess Clock is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+
+**************************************************************************/
+
 #include <QtGui/QApplication>
 #include <QtDeclarative>
 #include "classes/wrappedclockswidget.h"
@@ -6,6 +27,7 @@
 int main(int argc, char *argv[])
 {
     QApplication app(argc, argv);
+    app.setStyleSheet("* {color: white}");
 
     qmlRegisterType<WrappedClocksWidget>("ChessClocks", 1, 0, "WrappedClocksWidget");