mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-28 08:09:42 +01:00
Add astylerc to distfiles.
This commit is contained in:
parent
84998b46bd
commit
fbff4ce555
@ -9,7 +9,6 @@
|
||||
--max-continuation-indent=100
|
||||
--break-blocks=all
|
||||
--unpad-paren
|
||||
--delete-empty-lines
|
||||
--pad-oper
|
||||
--pad-comma
|
||||
--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)
|
||||
: QtSingleApplication(id, argc, argv),
|
||||
|
||||
#if defined(USE_WEBENGINE)
|
||||
m_urlInterceptor(new NetworkUrlInterceptor(this)),
|
||||
#endif
|
||||
m_feedReader(nullptr),
|
||||
|
||||
m_feedReader(nullptr),
|
||||
m_updateFeedsLock(nullptr), m_userActions(QList<QAction*>()), m_mainForm(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) {
|
||||
connect(this, &Application::aboutToQuit, this, &Application::onAboutToQuit);
|
||||
connect(this, &Application::commitDataRequest, this, &Application::onCommitData);
|
||||
connect(this, &Application::saveStateRequest, this, &Application::onSaveState);
|
||||
|
||||
#if defined(USE_WEBENGINE)
|
||||
connect(QWebEngineProfile::defaultProfile(), &QWebEngineProfile::downloadRequested, this, &Application::downloadRequested);
|
||||
QWebEngineProfile::defaultProfile()->setRequestInterceptor(m_urlInterceptor);
|
||||
|
@ -257,7 +257,6 @@ QSqlDatabase DatabaseFactory::sqliteInitializeInMemoryDatabase() {
|
||||
// Attach database.
|
||||
copy_contents.exec(QString("ATTACH DATABASE '%1' AS 'storage';").arg(file_database.databaseName()));
|
||||
// Copy all stuff.
|
||||
// WARNING: All tables belong here.
|
||||
QStringList tables;
|
||||
|
||||
if (copy_contents.exec(QSL("SELECT name FROM storage.sqlite_master WHERE type='table';"))) {
|
||||
@ -534,7 +533,6 @@ void DatabaseFactory::sqliteSaveMemoryDatabase() {
|
||||
// Attach database.
|
||||
copy_contents.exec(QString(QSL("ATTACH DATABASE '%1' AS 'storage';")).arg(file_database.databaseName()));
|
||||
// Copy all stuff.
|
||||
// WARNING: All tables belong here.
|
||||
QStringList tables;
|
||||
|
||||
if (copy_contents.exec(QSL("SELECT name FROM storage.sqlite_master WHERE type='table';"))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user