Merged
[qtmeetings] / src / UserInterface / WindowManager.cpp
index 8685e6b..25a4cc8 100644 (file)
@@ -6,8 +6,6 @@
 
 #include <QtDebug>
 
-const int IDLE_TIME_MULTIPLIER = 60000; // Multiplies milliseconds to minutes
-
 WindowManager::WindowManager( QWidget *aParent ) :
                QWidget( aParent ),
                iApplicationName( tr( "Qt Meetings" ) ),
@@ -103,6 +101,13 @@ bool WindowManager::event(QEvent *event)
        return QWidget::event( event );
 }
 
+void WindowManager::error( const QString &aErrorMessage )
+{
+       qDebug() << "WindowManager::showErrorPopup";
+
+       PopUpMessageBox::error( 0, aErrorMessage );
+}
+
 void WindowManager::setFullscreen()
 {
        this->setWindowState( Qt::WindowFullScreen );