survey
This commit is contained in:
parent
fa2254db92
commit
28adf6379c
2 changed files with 6 additions and 18 deletions
|
@ -78,7 +78,7 @@ set(APP_AUTHOR "Martin Rotter")
|
|||
set(APP_COPYRIGHT "\\251 2011-${YEAR} ${APP_AUTHOR}")
|
||||
set(APP_REVERSE_NAME "io.github.martinrotter.rssguard")
|
||||
set(APP_DONATE_URL "https://github.com/sponsors/martinrotter")
|
||||
set(APP_VERSION "4.8.3")
|
||||
set(APP_VERSION "4.8.4")
|
||||
|
||||
set(APP_URL "https://github.com/martinrotter/rssguard")
|
||||
set(APP_URL_DOCUMENTATION "https://rssguard.readthedocs.io")
|
||||
|
|
|
@ -331,12 +331,11 @@ void Application::performLogging(QtMsgType type, const QMessageLogContext& conte
|
|||
}
|
||||
|
||||
if (!s_customLogFile.isEmpty()) {
|
||||
QFile log_file(s_customLogFile);
|
||||
static QFile* log_file = new QFile(s_customLogFile);
|
||||
|
||||
if (log_file.open(QFile::OpenModeFlag::Append | QFile::OpenModeFlag::Unbuffered)) {
|
||||
log_file.write(console_message.toUtf8());
|
||||
log_file.write(QSL("\r\n").toUtf8());
|
||||
log_file.close();
|
||||
if (log_file->isOpen() || log_file->open(QFile::OpenModeFlag::Append | QFile::OpenModeFlag::Unbuffered)) {
|
||||
log_file->write(console_message.toUtf8());
|
||||
log_file->write(QSL("\r\n").toUtf8());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -374,20 +373,9 @@ void Application::loadDynamicShortcuts() {
|
|||
}
|
||||
|
||||
void Application::offerPolls() const {
|
||||
/*
|
||||
if (isFirstRunCurrentVersion()) {
|
||||
qApp->showGuiMessage(Notification::Event::GeneralEvent,
|
||||
{tr("%1 survey").arg(QSL(APP_NAME)),
|
||||
tr("Please, fill the survey."),
|
||||
QSystemTrayIcon::MessageIcon::Warning},
|
||||
{false, true, false},
|
||||
{tr("Go to survey"), [] {
|
||||
qApp->web()->openUrlInExternalBrowser(QSL("https://docs.google.com/forms/d/e/"
|
||||
"1FAIpQLScQ_r_EwM6qojPsIMQHGdnSktU-WGHgporN69mpU-"
|
||||
"Tvq8y7XQ/viewform?usp=sf_link"));
|
||||
}});
|
||||
qApp->web()->openUrlInExternalBrowser(QSL("https://forms.gle/3CZm95W6vrBLfi5K9"));
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void Application::offerChanges() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue