Don't allow showing the notification dialog without using the dialog
queue anymore.
This commit is contained in:
parent
73e8fb3556
commit
8d3d65270a
@ -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()
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user