mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 16:49:34 +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
|
||||
|
@ -185,6 +185,8 @@ win32 {
|
||||
}
|
||||
}
|
||||
|
||||
DISTFILES += .astylerc
|
||||
|
||||
MOC_DIR = $$OUT_PWD/moc
|
||||
RCC_DIR = $$OUT_PWD/rcc
|
||||
UI_DIR = $$OUT_PWD/ui
|
||||
|
@ -49,9 +49,11 @@
|
||||
|
||||
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_updateFeedsLock(nullptr), m_userActions(QList<QAction*>()), m_mainForm(nullptr),
|
||||
m_trayIcon(nullptr), m_settings(nullptr), m_system(nullptr), m_skins(nullptr),
|
||||
@ -59,6 +61,7 @@ Application::Application(const QString& id, int& argc, char** argv)
|
||||
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