changed default time to 0 for disabling it on first use

This commit is contained in:
Blu3train 2022-04-30 11:18:35 +02:00
parent d0d454df24
commit 08750b3309

View File

@ -46,8 +46,8 @@ constexpr auto DICTIONARY_SAVE_FILE = u8"SavedDictionary.txt";
constexpr int CLICK_THROUGH_HOTKEY = 0xc0d0; constexpr int CLICK_THROUGH_HOTKEY = 0xc0d0;
constexpr int HIDE_TEXT_HOTKEY = 0xc0d1; constexpr int HIDE_TEXT_HOTKEY = 0xc0d1;
const qreal COLOR_ALFAF_HIDE_WINDOW = 0.05; const qreal COLOR_ALFAF_HIDE_WINDOW = 0.05;
const int TEXT_TIMEOUT_DEF = 2000; const int TEXT_TIMEOUT_DEF = 0;
const int TEXT_TIMEOUT_ADD_PER_CHAR_DEF = 40; const int TEXT_TIMEOUT_ADD_PER_CHAR_DEF = 0;
QColor colorPrompt(QWidget* parent, QColor default, const QString& title, bool customOpacity = true) QColor colorPrompt(QWidget* parent, QColor default, const QString& title, bool customOpacity = true)
{ {