void-packages/srcpkgs/kvirc/patches/gcc6.patch
2017-04-12 10:28:28 +02:00

20 lines
711 B
Diff

--- src/kvirc/kernel/KviIrcConnection.cpp.orig
+++ src/kvirc/kernel/KviIrcConnection.cpp
@@ -669,7 +669,7 @@
while(m_pChannelList->first())
{
m_pChannelList->first()->close();
- QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
+ QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers | QEventLoop::ExcludeUserInputEvents);
}
}
@@ -678,7 +678,7 @@
while(m_pQueryList->first())
{
m_pQueryList->first()->close();
- QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
+ QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers | QEventLoop::ExcludeUserInputEvents);
}
}