Link against qtmacextras.
This commit is contained in:
parent
e49ffb49d8
commit
ef5186c7a8
@ -196,6 +196,10 @@ MOC_DIR = $$OUT_PWD/moc
|
||||
RCC_DIR = $$OUT_PWD/rcc
|
||||
UI_DIR = $$OUT_PWD/ui
|
||||
|
||||
mac {
|
||||
QT *= macextras
|
||||
}
|
||||
|
||||
equals(USE_WEBENGINE, true) {
|
||||
message(rssguard: Application will be compiled WITH QtWebEngine module.)
|
||||
QT *= webenginewidgets
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "services/abstract/feed.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
#include <QMessageLogger>
|
||||
#include <QMutexLocker>
|
||||
#include <QString>
|
||||
#include <QThread>
|
||||
@ -118,15 +120,11 @@ void FeedDownloader::oneFeedUpdateFinished(const QList<Message>& messages, bool
|
||||
|
||||
// Now make sure, that messages are actually stored to SQL in a locked state.
|
||||
qDebug().nospace() << "Saving messages of feed "
|
||||
<< feed->id() << " in thread: \'"
|
||||
<< feed->customId() << " in thread: \'"
|
||||
<< QThread::currentThreadId() << "\'.";
|
||||
int updated_messages = feed->updateMessages(messages, error_during_obtaining);
|
||||
|
||||
/*
|
||||
QMetaObject::invokeMethod(feed, "updateMessages", Qt::BlockingQueuedConnection,
|
||||
Q_RETURN_ARG(int, updated_messages),
|
||||
Q_ARG(QList<Message>, messages));
|
||||
*/
|
||||
qDebug("%d messages for feed %d stored in DB.", updated_messages, feed->customId());
|
||||
|
||||
if (updated_messages > 0) {
|
||||
m_results.appendUpdatedFeed(QPair<QString, int>(feed->title(), updated_messages));
|
||||
|
@ -61,6 +61,12 @@
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
@ -320,8 +326,6 @@
|
||||
<tabstop>m_checkMessagesDateTimeFormat</tabstop>
|
||||
<tabstop>m_cmbMessagesDateTimeFormat</tabstop>
|
||||
<tabstop>m_btnChangeMessagesFont</tabstop>
|
||||
<tabstop>m_spinHeightRowsMessages_3</tabstop>
|
||||
<tabstop>m_spinHeightRowsMessages_2</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <QStringList>
|
||||
|
||||
TimeSpinBox::TimeSpinBox(QWidget* parent) : QDoubleSpinBox(parent) {
|
||||
setMinimum(5.0);
|
||||
setMinimum(3.0);
|
||||
setAccelerated(true);
|
||||
setDecimals(0);
|
||||
setMaximum(10000000.0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user