mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-22 13:29:14 +01:00
port punetwiin to QT 6
This commit is contained in:
parent
8bb6f5d1b7
commit
d3547bc68e
@ -93,7 +93,7 @@ void PrintColoredString( const char *msg, int highlite )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
QString str( msg );
|
QString str( msg );
|
||||||
QStringList list = str.split( "\n", QString::SkipEmptyParts );
|
QStringList list = str.split( "\n", Qt::SkipEmptyParts );
|
||||||
foreach( QString s, list )
|
foreach( QString s, list )
|
||||||
{
|
{
|
||||||
QString m = s;
|
QString m = s;
|
||||||
@ -343,7 +343,7 @@ void CopyItemChildren( QTreeWidgetItem *item )
|
|||||||
if( (quint32)stuff.size() != size )
|
if( (quint32)stuff.size() != size )
|
||||||
{
|
{
|
||||||
DumpItem( ch );
|
DumpItem( ch );
|
||||||
qCritical() << hex << (quint32)stuff.size() << "!=" << size;
|
qCritical() << Qt::hex << (quint32)stuff.size() << "!=" << size;
|
||||||
Fail( "Error reading data for " + path );
|
Fail( "Error reading data for " + path );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -385,7 +385,6 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
if( args.contains( "-about", Qt::CaseInsensitive ) )
|
if( args.contains( "-about", Qt::CaseInsensitive ) )
|
||||||
About();
|
About();
|
||||||
|
|
||||||
if( args.size() < 3 )
|
if( args.size() < 3 )
|
||||||
Usage();
|
Usage();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user