blob: b89925fd3d6ab3f1e1f7e711578e4da0359e981f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
Description: Ported to Qt5.
Author: Innocent De Marchi <tangram.peces@gmail.com>
Last-Update: 2017-12-31
Forwarded: yes
--- a/history.cc
+++ b/history.cc
@@ -60,7 +60,7 @@
m_movelist = new QTreeWidget(this);
m_movelist->setColumnCount(3);
m_movelist->header()->setStretchLastSection(true);
- m_movelist->header()->setMovable(false);
+ //m_movelist->header()->setMovable(false);
m_movelist->setRootIsDecorated(false);
QStringList header;
header << "#" << tr("Move") << tr("Comment");
--- a/kcheckers.pro
+++ b/kcheckers.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
-
+QT += widgets
CONFIG += qt warn_on
HEADERS = pdn.h \
--- a/main.cc
+++ b/main.cc
@@ -37,8 +37,8 @@
top->show();
// command line
- if(app.argc()==2)
- top->open(app.argv()[1]);
+ //if(app.argc() ==2)
+ //top->open(app.argv()[1]);
int exit = app.exec();
--- a/pdn.cc
+++ b/pdn.cc
@@ -21,7 +21,7 @@
***************************************************************************/
#include <QFile>
#include <QTextStream>
-#include <QProgressDialog>
+#include <QtWidgets/QProgressDialog>
#include <QDebug>
#include "checkers.h"
|