Changeset 2182f00 in subsurface


Ignore:
Timestamp:
Apr 22, 2017, 12:38:59 PM (5 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
86d33b9
Parents:
bc6c8a3
git-author:
Dirk Hohndel <dirk@…> (04/22/17 12:29:46)
git-committer:
Dirk Hohndel <dirk@…> (04/22/17 12:38:59)
Message:

Reduce default verbosity

Signed-off-by: Dirk Hohndel <dirk@…>

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/pluginmanager.cpp

    r7be962b r2182f00  
    77
    88static QList<ISocialNetworkIntegration*> _socialNetworks;
     9
     10// no point in including dive.h for this
     11extern int verbose;
    912
    1013PluginManager& PluginManager::instance()
     
    3437        pluginsDir.cd("plugins");
    3538
    36         qDebug() << "Plugins Directory: " << pluginsDir;
     39        if (verbose)
     40                qDebug() << "Plugins Directory: " << pluginsDir;
     41
    3742        foreach (const QString& fileName, pluginsDir.entryList(QDir::Files)) {
    3843                QPluginLoader loader(pluginsDir.absoluteFilePath(fileName));
  • core/save-git.c

    rbcad5dd r2182f00  
    11081108
    11091109                if (saved_git_id) {
    1110                         if (existing_filename)
     1110                        if (existing_filename && verbose)
    11111111                                fprintf(stderr, "existing filename %s\n", existing_filename);
    11121112                        const git_oid *id = git_commit_id((const git_commit *) parent);
  • desktop-widgets/mainwindow.cpp

    rff5c04e r2182f00  
    560560                return;
    561561        }
    562         qDebug() << filename;
     562        if (verbose)
     563                qDebug() << "Opening cloud storage from:" << filename;
    563564
    564565        closeCurrentFile();
     
    587588                return;
    588589        }
    589         qDebug() << filename;
     590        if (verbose)
     591                qDebug() << "Saving cloud storage to:" << filename;
    590592        if (information()->isEditing())
    591593                information()->acceptChanges();
Note: See TracChangeset for help on using the changeset viewer.