commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9813 - gnuradio/branches/developers/trondeau/qtgui/gr


From: trondeau
Subject: [Commit-gnuradio] r9813 - gnuradio/branches/developers/trondeau/qtgui/gr-qtgui/src/lib
Date: Tue, 21 Oct 2008 17:19:39 -0600 (MDT)

Author: trondeau
Date: 2008-10-21 17:19:37 -0600 (Tue, 21 Oct 2008)
New Revision: 9813

Modified:
   gnuradio/branches/developers/trondeau/qtgui/gr-qtgui/src/lib/qtgui_sink_c.cc
Log:
fixing QApplication arguments to remove runtime warning

Modified: 
gnuradio/branches/developers/trondeau/qtgui/gr-qtgui/src/lib/qtgui_sink_c.cc
===================================================================
--- 
gnuradio/branches/developers/trondeau/qtgui/gr-qtgui/src/lib/qtgui_sink_c.cc    
    2008-10-21 21:40:00 UTC (rev 9812)
+++ 
gnuradio/branches/developers/trondeau/qtgui/gr-qtgui/src/lib/qtgui_sink_c.cc    
    2008-10-21 23:19:37 UTC (rev 9813)
@@ -82,7 +82,9 @@
 void
 qtgui_sink_c::start_app()
 {
-  d_qApplication = new QApplication(0, NULL);
+  int argc;
+  char **argv = NULL;
+  d_qApplication = new QApplication(argc, argv);
 
   uint64_t maxBufferSize = 32768;
   d_main_gui = new SpectrumGUIClass(maxBufferSize, d_fftsize, d_fmin, d_fmax);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]