Add astylerc to distfiles.

This commit is contained in:
Martin Rotter 2017-07-21 07:14:18 +02:00
parent 84998b46bd
commit fbff4ce555
4 changed files with 866 additions and 864 deletions

View File

@ -9,7 +9,6 @@
--max-continuation-indent=100
--break-blocks=all
--unpad-paren
--delete-empty-lines
--pad-oper
--pad-comma
--pad-header

File diff suppressed because it is too large Load Diff

View File

@ -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);

View File

@ -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';"))) {