Enabling fullscreen support 061912161720
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 19 Jun 2012 23:15:58 +0000 (16:15 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Tue, 19 Jun 2012 23:15:58 +0000 (16:15 -0700)
packaging/hfdialer.changes
src/dialerapplication.cpp
src/qmlmainwindow.cpp

index 2eb2015..7d00776 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Jun 19 2012 Rusty Lynch <rusty.lynch@intel.com> - 0.3.0
+- Enabled fullscreen support
+
 * Mon Jun 18 2012 Rusty Lynch <rusty.lynch@intel.com> - 0.3.0
 - Fix crasher bug caused by attempting to show the active window
   before it has been created
index 98d6793..210846f 100644 (file)
@@ -127,6 +127,8 @@ void DialerApplication::init()
     m_connected = false;
     m_lastError = QString();
 
+    setQuitOnLastWindowClosed(false);
+
     // Notify Qt of our custom DBus MetaTypes
     registerMyDataTypes();
 
@@ -289,7 +291,7 @@ void DialerApplication::raise()
 void DialerApplication::closeWindow()
 {
     TRACE;
-    m_mainWindow->hide();
+    m_mainWindow->close();
 }
 
 /* Local Variables:      */
index c3096dc..45724a1 100644 (file)
@@ -142,7 +142,7 @@ void QMLMainWindow::tryToShow()
                     da->activeWindow()->show();
                     da->activeWindow()->activateWindow();
                 }
-            this->show();
+            this->showFullScreen();
         }
  
 }