Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
067bab07
Commit
067bab07
authored
Apr 20, 2009
by
Oswald Buddenhagen
Browse files
clean up resourcePath() impl
parent
c5df1500
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/coreimpl.cpp
View file @
067bab07
...
...
@@ -134,13 +134,15 @@ QPrinter *CoreImpl::printer() const
return
m_mainwindow
->
printer
();
}
QString
CoreImpl
::
resourcePath
()
const
{
#if defined(Q_OS_MAC)
return
QDir
::
cleanPath
(
QCoreApplication
::
applicationDirPath
()
+
QLatin1String
(
"/../Resources"
));
#ifdef Q_OS_MAC
# define SHARE_PATH "/../Resources"
#else
return
QDir
::
cleanPath
(
QCoreApplication
::
applicationDirPath
())
+
"/../share/qtcreator"
;
#
define SHARE_PATH
"/../share/qtcreator"
#endif
QString
CoreImpl
::
resourcePath
()
const
{
return
QDir
::
cleanPath
(
QCoreApplication
::
applicationDirPath
()
+
QLatin1String
(
SHARE_PATH
));
}
IContext
*
CoreImpl
::
currentContextObject
()
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment