Add astylerc to distfiles.
This commit is contained in:
parent
84998b46bd
commit
fbff4ce555
4 changed files with 866 additions and 864 deletions
|
@ -9,7 +9,6 @@
|
||||||
--max-continuation-indent=100
|
--max-continuation-indent=100
|
||||||
--break-blocks=all
|
--break-blocks=all
|
||||||
--unpad-paren
|
--unpad-paren
|
||||||
--delete-empty-lines
|
|
||||||
--pad-oper
|
--pad-oper
|
||||||
--pad-comma
|
--pad-comma
|
||||||
--pad-header
|
--pad-header
|
||||||
|
|
1722
rssguard.pro
1722
rssguard.pro
File diff suppressed because it is too large
Load diff
|
@ -49,16 +49,19 @@
|
||||||
|
|
||||||
Application::Application(const QString& id, int& argc, char** argv)
|
Application::Application(const QString& id, int& argc, char** argv)
|
||||||
: QtSingleApplication(id, argc, argv),
|
: QtSingleApplication(id, argc, argv),
|
||||||
|
|
||||||
#if defined(USE_WEBENGINE)
|
#if defined(USE_WEBENGINE)
|
||||||
m_urlInterceptor(new NetworkUrlInterceptor(this)),
|
m_urlInterceptor(new NetworkUrlInterceptor(this)),
|
||||||
#endif
|
#endif
|
||||||
m_feedReader(nullptr),
|
|
||||||
|
m_feedReader(nullptr),
|
||||||
m_updateFeedsLock(nullptr), m_userActions(QList<QAction*>()), m_mainForm(nullptr),
|
m_updateFeedsLock(nullptr), m_userActions(QList<QAction*>()), m_mainForm(nullptr),
|
||||||
m_trayIcon(nullptr), m_settings(nullptr), m_system(nullptr), m_skins(nullptr),
|
m_trayIcon(nullptr), m_settings(nullptr), m_system(nullptr), m_skins(nullptr),
|
||||||
m_localization(nullptr), m_icons(nullptr), m_database(nullptr), m_downloadManager(nullptr), m_shouldRestart(false) {
|
m_localization(nullptr), m_icons(nullptr), m_database(nullptr), m_downloadManager(nullptr), m_shouldRestart(false) {
|
||||||
connect(this, &Application::aboutToQuit, this, &Application::onAboutToQuit);
|
connect(this, &Application::aboutToQuit, this, &Application::onAboutToQuit);
|
||||||
connect(this, &Application::commitDataRequest, this, &Application::onCommitData);
|
connect(this, &Application::commitDataRequest, this, &Application::onCommitData);
|
||||||
connect(this, &Application::saveStateRequest, this, &Application::onSaveState);
|
connect(this, &Application::saveStateRequest, this, &Application::onSaveState);
|
||||||
|
|
||||||
#if defined(USE_WEBENGINE)
|
#if defined(USE_WEBENGINE)
|
||||||
connect(QWebEngineProfile::defaultProfile(), &QWebEngineProfile::downloadRequested, this, &Application::downloadRequested);
|
connect(QWebEngineProfile::defaultProfile(), &QWebEngineProfile::downloadRequested, this, &Application::downloadRequested);
|
||||||
QWebEngineProfile::defaultProfile()->setRequestInterceptor(m_urlInterceptor);
|
QWebEngineProfile::defaultProfile()->setRequestInterceptor(m_urlInterceptor);
|
||||||
|
|
|
@ -257,7 +257,6 @@ QSqlDatabase DatabaseFactory::sqliteInitializeInMemoryDatabase() {
|
||||||
// Attach database.
|
// Attach database.
|
||||||
copy_contents.exec(QString("ATTACH DATABASE '%1' AS 'storage';").arg(file_database.databaseName()));
|
copy_contents.exec(QString("ATTACH DATABASE '%1' AS 'storage';").arg(file_database.databaseName()));
|
||||||
// Copy all stuff.
|
// Copy all stuff.
|
||||||
// WARNING: All tables belong here.
|
|
||||||
QStringList tables;
|
QStringList tables;
|
||||||
|
|
||||||
if (copy_contents.exec(QSL("SELECT name FROM storage.sqlite_master WHERE type='table';"))) {
|
if (copy_contents.exec(QSL("SELECT name FROM storage.sqlite_master WHERE type='table';"))) {
|
||||||
|
@ -534,7 +533,6 @@ void DatabaseFactory::sqliteSaveMemoryDatabase() {
|
||||||
// Attach database.
|
// Attach database.
|
||||||
copy_contents.exec(QString(QSL("ATTACH DATABASE '%1' AS 'storage';")).arg(file_database.databaseName()));
|
copy_contents.exec(QString(QSL("ATTACH DATABASE '%1' AS 'storage';")).arg(file_database.databaseName()));
|
||||||
// Copy all stuff.
|
// Copy all stuff.
|
||||||
// WARNING: All tables belong here.
|
|
||||||
QStringList tables;
|
QStringList tables;
|
||||||
|
|
||||||
if (copy_contents.exec(QSL("SELECT name FROM storage.sqlite_master WHERE type='table';"))) {
|
if (copy_contents.exec(QSL("SELECT name FROM storage.sqlite_master WHERE type='table';"))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue