On 20/12/2009 17:34, Peter Kümmel wrote:
Abdelrazak Younes wrote:
1) Replace all call to Alert::warning() related to some Buffer action
with a new Buffer::warning() method that will use the GuiDelegate to
send the warning to the GUI even when we are in another thread. This is
because new widget cannot be created from another thread so we must
implement a signal from the thread that will ask the main thread to
launch the dialog.
Shouldn't we simply move all Alert::warning() calls into the Gui thread?

That would be nice yes.

(Then we need some signal/sot stuff in GuiAlert.cpp)

That would be a solution.

Abdel.

Reply via email to