improvements of wait cursor

make filtering of modal dialogs working with Qt5
save/restore filter flags
don't filter events for File > Export
when using showPreferences don't show wait cursor
This commit is contained in:
wmayer
2017-10-22 19:49:56 +02:00
parent 0dff19e1fb
commit da4d35ac89
4 changed files with 19 additions and 0 deletions

View File

@@ -588,6 +588,7 @@ void Application::importFrom(const char* FileName, const char* DocName, const ch
void Application::exportTo(const char* FileName, const char* DocName, const char* Module)
{
WaitCursor wc;
wc.setIgnoreEvents(WaitCursor::NoEvents);
Base::FileInfo File(FileName);
std::string te = File.extension();
string unicodepath = Base::Tools::escapedUnicodeFromUtf8(File.filePath().c_str());