Get rid of fullscreen mode
This commit is contained in:
@@ -153,7 +153,6 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
|
||||
viewMenu->addAction(tr("Zoom Out"), m_imageGL, SLOT(zoomOut()), QKeySequence::ZoomOut);
|
||||
viewMenu->addAction(tr("Best Fit"), m_imageGL, SLOT(bestFit()), QKeySequence("Ctrl+1"));
|
||||
viewMenu->addAction(tr("100%"), m_imageGL, SLOT(oneToOne()));
|
||||
viewMenu->addAction(tr("Fullscreen"), this, SLOT(toggleFullScreen()), Qt::CTRL + Qt::Key_F11);
|
||||
QAction *thumbnailsAction = viewMenu->addAction(tr("Thumbnails"), [this](bool checked){
|
||||
if(SettingsDialog::loadThumbsizes())m_ringList->clearThumbnails();
|
||||
m_imageGL->imageWidget()->allocateThumbnails(m_ringList->imageNames());
|
||||
@@ -584,20 +583,6 @@ void MainWindow::deleteMarked()
|
||||
m_database->clearMarkedFiles();
|
||||
}
|
||||
|
||||
void MainWindow::toggleFullScreen()
|
||||
{
|
||||
if(isFullScreen())
|
||||
{
|
||||
showNormal();
|
||||
if(_maximized)showMaximized();
|
||||
}
|
||||
else
|
||||
{
|
||||
_maximized = isMaximized();
|
||||
showFullScreen();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::liveMode(bool active)
|
||||
{
|
||||
m_ringList->setLiveMode(active);
|
||||
|
||||
@@ -60,7 +60,6 @@ protected slots:
|
||||
void copyMarked();
|
||||
void moveMarked();
|
||||
void deleteMarked();
|
||||
void toggleFullScreen();
|
||||
void liveMode(bool active);
|
||||
void imageStats(bool imageStats);
|
||||
void peakFinder(bool findPeaks);
|
||||
|
||||
Reference in New Issue
Block a user