From: undefine Date: Wed, 1 Sep 2004 01:03:04 +0000 (+0000) Subject: - patch from author to disable qstyles X-Git-Tag: auto/ac/MathPlanner-3_1_3-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2FMathPlanner.git;a=commitdiff_plain;h=d20c222edd2290d27df602ab217307a7e0791c73 - patch from author to disable qstyles Changed files: MathPlanner-no_qstyles.patch -> 1.1 --- diff --git a/MathPlanner-no_qstyles.patch b/MathPlanner-no_qstyles.patch new file mode 100644 index 0000000..2ce373e --- /dev/null +++ b/MathPlanner-no_qstyles.patch @@ -0,0 +1,26 @@ +--- src/Base.cpp 2002-10-11 23:26:30.000000000 +0200 ++++ /home/users/undefine/Base.cpp 2004-09-01 02:21:49.000000000 +0200 +@@ -1,6 +1,6 @@ + /* + * MathPlanner 3.1 - Mathematical design tool. +- * Copyright(C) 2002 Jarmo Nikkanen ++ * Copyright(C) 2004 Jarmo Nikkanen + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the +@@ -118,13 +118,13 @@ + app.setMainWidget(mathwindow); + mathwindow->showMaximized(); + +- ++ /* + switch (mathwindow->Style()) { + case 1: QLibrary resolve(QWindowsStyle); break; + case 2: QLibrary resolve(QPlatinumStyle); break; + case 3: QLibrary resolve(QMotifStyle); break; + } +- ++ */ + + + // SETUP WEB BROWSER