weekly "fixed building on linux"
This commit is contained in:
@@ -45,6 +45,10 @@ exists ($(QTDIR)/include/QtWebEngine/QtWebEngine) {
|
||||
DEFINES += "USEWEBENGINE"
|
||||
}
|
||||
|
||||
linux {
|
||||
LIBS += -lrt
|
||||
}
|
||||
|
||||
win32 {
|
||||
LIBS += -luser32
|
||||
}
|
||||
|
||||
@@ -121,11 +121,11 @@ AccountPopupWidget::AccountPopupWidget(ChannelPtr _channel)
|
||||
switch (result) {
|
||||
case IgnoreResult_Success: {
|
||||
this->relationship.setIgnoring(true);
|
||||
emit refreshButtons();
|
||||
emit this->refreshButtons();
|
||||
} break;
|
||||
case IgnoreResult_AlreadyIgnored: {
|
||||
this->relationship.setIgnoring(true);
|
||||
emit refreshButtons();
|
||||
emit this->refreshButtons();
|
||||
} break;
|
||||
case IgnoreResult_Failed: {
|
||||
} break;
|
||||
@@ -137,7 +137,7 @@ AccountPopupWidget::AccountPopupWidget(ChannelPtr _channel)
|
||||
switch (result) {
|
||||
case UnignoreResult_Success: {
|
||||
this->relationship.setIgnoring(false);
|
||||
emit refreshButtons();
|
||||
emit this->refreshButtons();
|
||||
} break;
|
||||
case UnignoreResult_Failed: {
|
||||
} break;
|
||||
@@ -230,7 +230,7 @@ void AccountPopupWidget::getUserData()
|
||||
currentUser->checkFollow(this->popupWidgetUser.userID, [=](auto result) {
|
||||
this->relationship.setFollowing(result == FollowResult_Following);
|
||||
|
||||
emit refreshButtons();
|
||||
emit this->refreshButtons();
|
||||
});
|
||||
|
||||
bool isIgnoring = false;
|
||||
|
||||
@@ -33,9 +33,9 @@ class SplitContainer : public BaseWidget, pajlada::Signals::SignalHolder
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
struct Node;
|
||||
|
||||
public:
|
||||
// fourtf: !!! preserve the order of left, up, right and down
|
||||
enum Direction { Left, Above, Right, Below };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user