Ignore:
Timestamp:
Mar 6, 2010, 12:32:46 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Use native file icons in standard Qt file dialogs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/itemviews/qfileiconprovider.cpp

    r620 r642  
    9999#ifdef Q_WS_WIN
    100100    QIcon getWinIcon(const QFileInfo &fi) const;
     101
     102
    101103#elif defined(Q_WS_MAC)
    102104    QIcon getMacIcon(const QFileInfo &fi) const;
     
    319321}
    320322
     323
     324
     325
     326
     327
     328
     329
     330
     331
     332
     333
     334
     335
     336
     337
     338
     339
     340
     341
     342
     343
     344
     345
     346
     347
     348
     349
     350
     351
     352
     353
     354
     355
     356
     357
     358
     359
     360
     361
     362
     363
     364
     365
     366
     367
     368
    321369#elif defined(Q_WS_MAC)
    322370QIcon QFileIconProviderPrivate::getMacIcon(const QFileInfo &fi) const
     
    410458    if (!icon.isNull())
    411459        return icon;
     460
     461
     462
     463
     464
     465
    412466#endif
    413467    if (info.isRoot())
Note: See TracChangeset for help on using the changeset viewer.