projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74da26e
)
Disabled code to try and get bundle path on OS X
author
Diane Trout
<diane@caltech.edu>
Thu, 15 Jun 2006 17:57:45 +0000
(17:57 +0000)
committer
Diane Trout
<diane@caltech.edu>
Thu, 15 Jun 2006 17:57:45 +0000
(17:57 +0000)
qui/MussaWindow.cpp
patch
|
blob
|
history
diff --git
a/qui/MussaWindow.cpp
b/qui/MussaWindow.cpp
index e331a58e85e06179692e0a4b06404e8b89e2c3ac..33500092381a3281078d481029e52891aec5fa5d 100644
(file)
--- a/
qui/MussaWindow.cpp
+++ b/
qui/MussaWindow.cpp
@@
-13,6
+13,10
@@
#include <QStringList>
#include <QWhatsThis>
#include <QStringList>
#include <QWhatsThis>
+#if defined(Q_WS_MAC)
+#include <CoreFoundation/CoreFoundation.h>
+#endif
+
#include "qui/MussaWindow.hpp"
#include "mussa_exceptions.hpp"
#include "qui/MussaWindow.hpp"
#include "mussa_exceptions.hpp"
@@
-268,6
+272,16
@@
void MussaWindow::setupMainMenu()
void MussaWindow::setupAssistant()
{
void MussaWindow::setupAssistant()
{
+#if 0 && defined(Q_WS_MAC)
+ CFURLRef pluginRef = CFBundleCopyBundleURL(CFBundleGetMainBundle());
+ CFStringRef macPath = CFURLCopyFileSystemPath(pluginRef,
+ kCFURLPOSIXPathStyle);
+ const char *pathPtr = CFStringGetCStringPtr(macPath,
+ CFStringGetSystemEncoding());
+ qDebug("Path = %s", pathPtr);
+ CFRelease(pluginRef);
+ CFRelease(macPath);
+#endif
#if defined(QT_ASSISTANT_LIB)
QStringList manualAssistantArgs;
manualAssistantArgs = QStringList();
#if defined(QT_ASSISTANT_LIB)
QStringList manualAssistantArgs;
manualAssistantArgs = QStringList();