Don't allow showing the notification dialog without using the dialog

queue anymore.
This commit is contained in:
gl3nn 2014-04-07 02:12:45 +02:00
parent 73e8fb3556
commit 8d3d65270a
2 changed files with 2 additions and 3 deletions

View File

@ -34,12 +34,11 @@ using namespace Online;
// -----------------------------------------------------------------------------
NotificationDialog::NotificationDialog(Type type, const core::stringw info, bool from_queue)
NotificationDialog::NotificationDialog(Type type, const core::stringw info)
: ModalDialog(0.8f,0.5f)
{
m_info = info;
m_type = type;
if(!from_queue) load();
}
void NotificationDialog::load()

View File

@ -53,7 +53,7 @@ private:
GUIEngine::IconButtonWidget * m_cancel_widget;
public:
NotificationDialog(Type type, const core::stringw info, bool from_queue = true);
NotificationDialog(Type type, const core::stringw info);
~NotificationDialog();
virtual void beforeAddingWidgets();