Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2014-10-23 14:19:19 +0400
committerMarkus Goetz <markus@woboq.com>2014-10-23 14:19:19 +0400
commit0d9ae241c9bdd56e016dfb9ac10aa16a10a482ac (patch)
treecd0f49ee9480624bcc8d938e8237bc43c1602ec6 /src/mirall
parente726e7aad840628f9f432560146abeb6752ca0ba (diff)
OwnCloudFinder: Rename to SyncStateFinder
Project file names stay the same, only the output file(s) changed
Diffstat (limited to 'src/mirall')
-rw-r--r--src/mirall/owncloudgui.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mirall/owncloudgui.cpp b/src/mirall/owncloudgui.cpp
index 1532f1615..61d15b59c 100644
--- a/src/mirall/owncloudgui.cpp
+++ b/src/mirall/owncloudgui.cpp
@@ -101,8 +101,9 @@ ownCloudGui::ownCloudGui(Application *parent) :
void ownCloudGui::setupOverlayIcons()
{
-
- if( Utility::isMac() && QFile::exists("/Library/ScriptingAdditions/OwnCloudFinder.osax") ) {
+#ifdef Q_OS_MAC
+ const QLatin1String finderExtension("/Library/ScriptingAdditions/SyncStateFinder.osax");
+ if(QFile::exists(finderExtension) ) {
QString aScript = QString::fromUtf8("tell application \"Finder\"\n"
" try\n"
" «event OWNCload»\n"
@@ -122,7 +123,10 @@ void ownCloudGui::setupOverlayIcons()
QString resultAsString(result); // if appropriate
qDebug() << "Laod Finder Overlay-Plugin: " << resultAsString << ": " << p.exitCode()
<< (p.exitCode() != 0 ? p.errorString() : QString::null);
+ } else {
+ qDebug() << finderExtension << "does not exist! Finder Overlay Plugin loading failed";
}
+#endif
}
// This should rather be in application.... or rather in MirallConfigFile?