wok-6.x view qdirstat/stuff/patches/qdirstat-1.5.patch @ rev 23392
updated perl-template-toolkit (2.26 -> 3.008)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:54:23 2020 +0100 (2020-03-31) |
parents | |
children |
line source
1 --- a/src/DataColumns.h
2 +++ b/src/DataColumns.h
3 @@ -186,39 +186,12 @@
4 **/
5 DataColumns();
7 -
8 // Data members
10 static DataColumns * _instance;
11 DataColumnList _columns;
13 }; // class DataColumns
14 -
15 -
16 - /**
17 - * Print a DataColumn in text form to a debug stream.
18 - **/
19 - inline QTextStream & operator<< ( QTextStream & stream, DataColumn col )
20 - {
21 - stream << DataColumns::toString( col );
22 -
23 - return stream;
24 - }
25 -
26 -
27 - /**
28 - * Print a DataColumn in text form to a debug stream.
29 - **/
30 - inline QTextStream & operator<< ( QTextStream & stream,
31 - const DataColumnList & colList )
32 - {
33 - stream << "[ "
34 - << DataColumns::toStringList( colList ).join( ", " )
35 - << " ]";
36 -
37 - return stream;
38 - }
39 -
41 } // namespace QDirStat
43 --- a/src/DataColumns.cpp
44 +++ b/src/DataColumns.cpp
45 @@ -13,8 +13,31 @@
46 #include "Logger.h"
47 #include "Exception.h"
49 using namespace QDirStat;
51 + /**
52 + * Print a DataColumn in text form to a debug stream.
53 + **/
54 + inline QTextStream & operator<< ( QTextStream & stream, DataColumn col )
55 + {
56 + stream << DataColumns::toString( col );
57 +
58 + return stream;
59 + }
60 +
61 +
62 + /**
63 + * Print a DataColumn in text form to a debug stream.
64 + **/
65 + inline QTextStream & operator<< ( QTextStream & stream,
66 + const DataColumnList & colList )
67 + {
68 + stream << "[ "
69 + << DataColumns::toStringList( colList ) //.join( ", " )
70 + << " ]";
71 +
72 + return stream;
73 + }
75 DataColumns * DataColumns::_instance = 0;
77 --- a/man/man.pro
78 +++ b/man/man.pro
79 @@ -7,13 +7,13 @@
81 MAN_SRC = $$files( *.1 )
82 MAN_TARGET = $$MAN_SRC
83 -MAN_TARGET ~= s/.1$/.1.gz/g
84 +#MAN_TARGET ~= s/.1$/.1.gz/g
86 # message(src: $$MAN_SRC)
87 # message(target: $$MAN_TARGET)
89 man.files = $$MAN_TARGET
90 -man.commands = gzip --keep --force $$MAN_SRC
91 +#man.commands = gzip --keep --force $$MAN_SRC
92 man.path = $$INSTALL_PREFIX/share/man/man1
94 INSTALLS += man