Compare commits
2 Commits
b07846c67d
...
90ab2473b1
Author | SHA1 | Date | |
---|---|---|---|
90ab2473b1 | |||
47df94c6a4 |
@ -11,6 +11,12 @@ int qStringToInt( const QString s )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int unused( int a )
|
||||||
|
{
|
||||||
|
return( a );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int main( int argc, char** argv )
|
int main( int argc, char** argv )
|
||||||
{
|
{
|
||||||
QCoreApplication app( argc, argv );
|
QCoreApplication app( argc, argv );
|
||||||
@ -38,7 +44,7 @@ int main( int argc, char** argv )
|
|||||||
QString s { QStringLiteral( "100" ) };
|
QString s { QStringLiteral( "100" ) };
|
||||||
auto ir = qStringToInt( s );
|
auto ir = qStringToInt( s );
|
||||||
|
|
||||||
QFile f;
|
QFile* f = new QFile();
|
||||||
Processor p;
|
Processor p;
|
||||||
QObject::connect( &app, SIGNAL(aboutToQuit()), &p, SLOT(process()));
|
QObject::connect( &app, SIGNAL(aboutToQuit()), &p, SLOT(process()));
|
||||||
QTimer::singleShot( 100, &app, SLOT(quit()));
|
QTimer::singleShot( 100, &app, SLOT(quit()));
|
||||||
|
Loading…
Reference in New Issue
Block a user