Fix the default filename scheme

This commit is contained in:
ArsenArsen 2017-07-02 13:22:46 +02:00
parent acdfb117a0
commit 774aecaf21

View File

@ -40,7 +40,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
for (Uploader *u : UploaderSingleton::inst().uploaderList()) newUploader(u); for (Uploader *u : UploaderSingleton::inst().uploaderList()) newUploader(u);
// Set filename scheme // Set filename scheme
setScheme(settings::settings().value("fileFormat", "Screenshot %(yyyy-MM-dd HH:mm:ss)date.ext").toString()); setScheme(settings::settings().value("fileFormat", "Screenshot %(yyyy-MM-dd HH:mm:ss)date.%ext").toString());
// Set delay // Set delay
if ((settings::settings().contains("delay"))) if ((settings::settings().contains("delay")))