diff --git a/cmainwindow.cpp b/cmainwindow.cpp index a4e4136..6b1bc89 100644 --- a/cmainwindow.cpp +++ b/cmainwindow.cpp @@ -66,12 +66,7 @@ void cMainWindow::initUI() m_progressBar->setVisible(false); ui->m_statusBar->addPermanentWidget(m_progressBar); -// QIcon::setThemeName("TangoMFK"); QIcon::setThemeName("GNOME"); - qDebug() << QIcon::themeName(); - qDebug() << QIcon::themeSearchPaths(); - qDebug() << QIcon::hasThemeIcon("document-open"); - qDebug() << "done"; } void cMainWindow::createActions() @@ -100,8 +95,6 @@ void cMainWindow::createFileActions() m_fileNewAction->setPriority(QAction::LowPriority); m_fileNewAction->setShortcut(QKeySequence::New); - ui->m_mainToolBar->addAction(m_fileNewAction); - // m_lpFileToolBar = addToolBar("file"); // const QIcon openIcon = QIcon::fromTheme("document-open"); diff --git a/cmainwindow.h b/cmainwindow.h index 77d2a92..86e2a55 100644 --- a/cmainwindow.h +++ b/cmainwindow.h @@ -10,6 +10,7 @@ #include #include #include +#include QT_BEGIN_NAMESPACE diff --git a/cmainwindow.ui b/cmainwindow.ui index 77064d4..9970357 100644 --- a/cmainwindow.ui +++ b/cmainwindow.ui @@ -26,7 +26,7 @@ 0 0 780 - 527 + 537 @@ -66,14 +66,6 @@ - - - TopToolBarArea - - - false - -