Compare commits
No commits in common. "90ab2473b1e815c82133e24f3982ec19f94b0a61" and "b07846c67d8e7fa4de99f0d2dc8b69f1dd6cce92" have entirely different histories.
90ab2473b1
...
b07846c67d
@ -11,12 +11,6 @@ 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 );
|
||||||
@ -44,7 +38,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 = new QFile();
|
QFile f;
|
||||||
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