diff options
| author | Tannin <devnull@localhost> | 2013-10-12 13:21:37 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-12 13:21:37 +0200 |
| commit | f3cb50057ba5cfe5496fda6ed860b14331fdb5c0 (patch) | |
| tree | 4ec838fbf29740dc94537b801e37f71ce04105dd /src/mainwindow.cpp | |
| parent | 55183093005318c051d45f35baca6000fe5f430c (diff) | |
- bugfixes to last merge
- fnis-check plugin can now be disabled
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7ef2dab6..b7a0fc2f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -111,6 +111,8 @@ using namespace MOBase; using namespace MOShared; + + static bool isOnline() { QList<QNetworkInterface> interfaces = QNetworkInterface::allInterfaces(); @@ -146,7 +148,7 @@ MainWindow::MainWindow(const QString &exeName, QSettings &initSettings, QWidget m_Updater(NexusInterface::instance(), this), m_CategoryFactory(CategoryFactory::instance()), m_CurrentProfile(NULL), m_AskForNexusPW(false), m_LoginAttempted(false), m_ArchivesInit(false), m_ContextItem(NULL), m_ContextAction(NULL), m_CurrentSaveView(NULL), - m_GameInfo(new GameInfoImpl()) + m_GameInfo(new GameInfoImpl()), m_AboutToRun() { ui->setupUi(this); this->setWindowTitle(ToQString(GameInfo::instance().getGameName()) + " Mod Organizer v" + m_Updater.getVersion().displayString()); @@ -2131,7 +2133,7 @@ HANDLE MainWindow::startApplication(const QString &executable, const QStringList return spawnBinaryDirect(binary, arguments, profileName, currentDirectory, steamAppID); } -bool MainWindow::onAboutToRun(const boost::function<bool (const QString &)> &func) +bool MainWindow::onAboutToRun(const std::function<bool (const QString &)> &func) { auto conn = m_AboutToRun.connect(func); return conn.connected(); |
