~ubuntu-branches/debian/sid/stellarium/sid

« back to all changes in this revision

Viewing changes to src/core/StelModuleMgr.cpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2013-08-04 15:06:55 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130804150655-iji0vb5navh3lk13
Tags: 0.12.2-1
* Imported Upstream version 0.12.2
* Added dependency to phonon (to enable video/sound)
* Fixed VCS links
* Removed unused lintian tag (embedded-library glee)
* Dropped obsolete patch
* Update copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <QDebug>
21
21
#include <QPluginLoader>
22
22
#include <QSettings>
 
23
#include <QDir>
23
24
 
24
25
#include "StelModuleMgr.hpp"
25
26
#include "StelApp.hpp"
245
246
                QPluginLoader loader(moduleFullPath);
246
247
                if (!loader.load())
247
248
                {
248
 
                        qWarning() << "Couldn't load the dynamic library: " << moduleFullPath << ": " << loader.errorString();
 
249
                        qWarning() << "Couldn't load the dynamic library: " << QDir::toNativeSeparators(moduleFullPath) << ": " << loader.errorString();
249
250
                        qWarning() << "Plugin " << dir << " will not be loaded.";
250
251
                        continue;
251
252
                }
253
254
                QObject* obj = loader.instance();
254
255
                if (!obj)
255
256
                {
256
 
                        qWarning() << "Couldn't open the dynamic library: " << moduleFullPath << ": " << loader.errorString();
 
257
                        qWarning() << "Couldn't open the dynamic library: " << QDir::toNativeSeparators(moduleFullPath) << ": " << loader.errorString();
257
258
                        qWarning() << "Plugin " << dir << " will not be open.";
258
259
                        continue;
259
260
                }