Reword file drag drop error to debug message (#7269)
* Reword error message * Fix indentation * Fix code style * Update ChangeLog
This commit is contained in:
parent
71539170ff
commit
2fce545c17
2 changed files with 3 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ Enhancements:
|
||||||
- #7262 Backward compatibility for M1 and M2 builds
|
- #7262 Backward compatibility for M1 and M2 builds
|
||||||
- #7254 Ability to bind client to a network interface
|
- #7254 Ability to bind client to a network interface
|
||||||
- #7263 Change name of Flatpak uploaded to snapshots
|
- #7263 Change name of Flatpak uploaded to snapshots
|
||||||
|
- #7269 Reword file drag drop error to debug message
|
||||||
|
|
||||||
1.14.6
|
1.14.6
|
||||||
======
|
======
|
||||||
|
|
|
||||||
|
|
@ -161,10 +161,10 @@ MSWindowsScreen::MSWindowsScreen(
|
||||||
char desktopPath[MAX_PATH];
|
char desktopPath[MAX_PATH];
|
||||||
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_DESKTOP, NULL, 0, desktopPath))) {
|
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_DESKTOP, NULL, 0, desktopPath))) {
|
||||||
m_desktopPath = String(desktopPath);
|
m_desktopPath = String(desktopPath);
|
||||||
LOG((CLOG_DEBUG "using desktop for drop target: %s", m_desktopPath.c_str()));
|
LOG((CLOG_DEBUG "using desktop for file drag-drop target: %s", m_desktopPath.c_str()));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOG((CLOG_ERR "failed to get desktop path, no drop target available, error=%d", GetLastError()));
|
LOG((CLOG_DEBUG "unable to use desktop as file drag-drop target, code=%d", GetLastError()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (App::instance().argsBase().m_preventSleep) {
|
if (App::instance().argsBase().m_preventSleep) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue