From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- tools/designer/examples/metric/main.cpp | 2 +- tools/designer/examples/metric/metric.ui | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/designer/examples/metric') diff --git a/tools/designer/examples/metric/main.cpp b/tools/designer/examples/metric/main.cpp index d7a20ab40..fb7cfc763 100644 --- a/tools/designer/examples/metric/main.cpp +++ b/tools/designer/examples/metric/main.cpp @@ -7,6 +7,6 @@ int main( int argc, char ** argv ) ConversionForm *w = new ConversionForm; w->show(); a.setMainWidget( w ); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/tools/designer/examples/metric/metric.ui b/tools/designer/examples/metric/metric.ui index aba8c2ef0..d2ae5456c 100644 --- a/tools/designer/examples/metric/metric.ui +++ b/tools/designer/examples/metric/metric.ui @@ -277,7 +277,7 @@ - tquitButton + quitButton &Quit @@ -295,7 +295,7 @@ clear() - tquitButton + quitButton clicked() ConversionForm close() @@ -350,7 +350,7 @@ decimalsSpinBox clearButton calculateButton - tquitButton + quitButton metric.ui.h -- cgit v1.2.1