OSDN Git Service
(root)
/
gefu
/
Gefu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a68e2
)
Ver0.21
author
Masayuki Satoh
<miyabi.satoh@gmail.com>
Sun, 14 Sep 2014 15:17:50 +0000
(
00:17
+0900)
committer
Masayuki Satoh
<miyabi.satoh@gmail.com>
Sun, 14 Sep 2014 15:17:50 +0000
(
00:17
+0900)
mainwindow.cpp
patch
|
blob
|
history
diff --git
a/mainwindow.cpp
b/mainwindow.cpp
index
d090548
..
97ea4d5
100644
(file)
--- a/
mainwindow.cpp
+++ b/
mainwindow.cpp
@@
-61,12
+61,14
@@
MainWindow::MainWindow(QWidget *parent) :
qApp->setWindowIcon(QIcon("://images/file-manager.png"));
\r
\r
// 古い設定ファイルを削除する
\r
+#ifdef Q_OS_MAC
\r
QSettings::setDefaultFormat(QSettings::IniFormat);
\r
QSettings settings(this);
\r
if (QFileInfo::exists(settings.fileName())) {
\r
QFile(settings.fileName()).remove();
\r
QDir().rmdir(QFileInfo(settings.fileName()).absolutePath());
\r
}
\r
+#endif
\r
\r
// パネルにモデルを割り当てる
\r
ui->LPanel->setModel(new FolderModel(this));
\r