mirror-chatterino2/windows.cpp
2017-01-26 04:26:40 +01:00

25 lines
479 B
C++

#include "windows.h"
namespace chatterino {
QMutex Windows::windowMutex;
widgets::MainWindow *Windows::mainWindow(nullptr);
void
Windows::layoutVisibleChatWidgets(Channel *channel)
{
if (Windows::mainWindow != nullptr) {
Windows::mainWindow->layoutVisibleChatWidgets(channel);
}
}
void
Windows::repaintVisibleChatWidgets(Channel *channel)
{
if (Windows::mainWindow != nullptr) {
Windows::mainWindow->repaintVisibleChatWidgets(channel);
}
}
}