Lines 32-37
Link Here
|
32 |
#include "TextToSpeech.h" |
32 |
#include "TextToSpeech.h" |
33 |
#include "MainWindow.h" |
33 |
#include "MainWindow.h" |
34 |
#include "Global.h" |
34 |
#include "Global.h" |
|
|
35 |
#ifdef USE_DBUS |
36 |
#include "DBus.h" |
37 |
#endif |
35 |
|
38 |
|
36 |
#ifdef Q_OS_MAC |
39 |
#ifdef Q_OS_MAC |
37 |
extern bool qt_mac_execute_apple_script(const QString &script, AEDesc *ret); |
40 |
extern bool qt_mac_execute_apple_script(const QString &script, AEDesc *ret); |
Lines 283-288
Link Here
|
283 |
g.mw->qteLog->ensureCursorVisible(); |
286 |
g.mw->qteLog->ensureCursorVisible(); |
284 |
} |
287 |
} |
285 |
|
288 |
|
|
|
289 |
#ifdef USE_DBUS |
286 |
// Message notification with balloon tooltips |
290 |
// Message notification with balloon tooltips |
287 |
if ((flags & Settings::LogBalloon) && !(g.mw->isActiveWindow() && g.mw->qdwLog->isVisible())) { |
291 |
if ((flags & Settings::LogBalloon) && !(g.mw->isActiveWindow() && g.mw->qdwLog->isVisible())) { |
288 |
QString qsIcon; |
292 |
QString qsIcon; |
Lines 362-367
Link Here
|
362 |
qt_mac_execute_apple_script(qsScript, NULL); |
366 |
qt_mac_execute_apple_script(qsScript, NULL); |
363 |
#endif |
367 |
#endif |
364 |
} |
368 |
} |
|
|
369 |
#endif |
365 |
|
370 |
|
366 |
// Message notification with static sounds |
371 |
// Message notification with static sounds |
367 |
|
372 |
|