Changeset 5a4485b in subsurface


Ignore:
Timestamp:
May 27, 2017, 11:07:20 AM (7 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
271b4ca
Parents:
38e24512
git-author:
Dirk Hohndel <dirk@…> (05/27/17 11:05:38)
git-committer:
Dirk Hohndel <dirk@…> (05/27/17 11:07:20)
Message:

Random whitespace cleanup

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • core/subsurfacesysinfo.cpp

    rb368ecd r5a4485b  
    241241static QString unquote(const char *begin, const char *end)
    242242{
    243     if (*begin == '"') {
    244         Q_ASSERT(end[-1] == '"');
    245         return QString::fromLatin1(begin + 1, end - begin - 2);
    246     }
    247     return QString::fromLatin1(begin, end - begin);
     243        if (*begin == '"') {
     244                Q_ASSERT(end[-1] == '"');
     245                return QString::fromLatin1(begin + 1, end - begin - 2);
     246        }
     247        return QString::fromLatin1(begin, end - begin);
    248248}
    249249
     
    614614{
    615615#ifdef Q_OS_WIN
    616        return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
    617 #else
    618        return false;
    619 #endif
    620 }
    621 }
     616        return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
     617#else
     618        return false;
     619#endif
     620}
     621}
  • desktop-widgets/diveplanner.cpp

    r9021a44 r5a4485b  
    510510void PlannerSettingsWidget::sacFactorChanged(const double factor)
    511511{
    512     plannerModel->setSacFactor(factor);
     512        plannerModel->setSacFactor(factor);
    513513}
    514514
  • desktop-widgets/diveshareexportdialog.h

    r9021a44 r5a4485b  
    1616class DiveShareExportDialog : public QDialog
    1717{
    18     Q_OBJECT
     18        Q_OBJECT
    1919public:
    20     explicit DiveShareExportDialog(QWidget *parent = 0);
    21     ~DiveShareExportDialog();
    22     static DiveShareExportDialog *instance();
    23     void prepareDivesForUpload(bool);
     20        explicit DiveShareExportDialog(QWidget *parent = 0);
     21        ~DiveShareExportDialog();
     22        static DiveShareExportDialog *instance();
     23        void prepareDivesForUpload(bool);
    2424private:
    25     Ui::DiveShareExportDialog *ui;
    26     bool exportSelected;
    27     QNetworkReply *reply;
     25        Ui::DiveShareExportDialog *ui;
     26        bool exportSelected;
     27        QNetworkReply *reply;
    2828private
    2929slots:
    30     void UIDFromBrowser();
    31     void doUpload();
    32     void finishedSlot();
     30        void UIDFromBrowser();
     31        void doUpload();
     32        void finishedSlot();
    3333};
    3434
  • desktop-widgets/subsurfacewebservices.cpp

    r38af1f2 r5a4485b  
    451451                SettingsObjectWrapper::instance()->cloud_storage->setSaveUserIdLocal(qSaveUid);
    452452
    453                 //WARN: Dirk, this seems to be wrong, I coundn't really understand the code.
     453                //WARN: Dirk, this seems to be wrong, I coundn't really understand the code.
    454454                if (qSaveUid) {
    455455                        QString qSettingUid = s.value("subsurface_webservice_uid").toString();
Note: See TracChangeset for help on using the changeset viewer.